Hello!  
I saw in the documentation how to create a cron job for the templates and maintenance task but i cannot seem to find where i can create the key for any maintenance task.
I also cannot find any exemple of how the cron job for maintenance empty databse. Would it look like something like that ? : 
/usr/local/bin/php /home/domain/public_html/administrator/components/com_csvi/helper/cron.php --key="mysecretword" --task="maintenance" --addon="com_virtuemart" --operation="emptydatabase"
Thank you!			
			- cybernaute
 - RO CSVI
 - Thursday, 17 December 2015
 - Subscribe via email
 
			
									0
								
				
					
				
			
		
	
						Accepted Answer
						Pending Moderation
					
				
				Hello,
The command would look like:
			The command would look like:
/usr/local/bin/php /home/domain/public_html/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=virtuemart --operation=emptydatabase The key is not needed because there is no place to put it. The one thing you want to make sure is that the path to the PHP program is correct.			Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
	RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
						Accepted Answer
						Pending Moderation
					
				
				I try to execute the command and get next result:
php /storage/home/srv55821/http://233747.hoster-test.ru/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=com_virtuemart --operation=emptydatabase
Use --help to see the help information
Start maintenance task emptydatabase
Cannot find maintenance extension for com_com_virtuemart
There can I get maintenance extension?
Roland, it seems to me, there's a little mistake in your syntax.
Сorrect results are obtained the following command:
php /storage/home/srv55821/http://233747.hoster-test.ru/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=virtuemart --operation=emptydatabase
I pointed --addon=virtuemart not com_virtuemart.
			php /storage/home/srv55821/http://233747.hoster-test.ru/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=com_virtuemart --operation=emptydatabase
Use --help to see the help information
Start maintenance task emptydatabase
Cannot find maintenance extension for com_com_virtuemart
There can I get maintenance extension?
Roland, it seems to me, there's a little mistake in your syntax.
Сorrect results are obtained the following command:
php /storage/home/srv55821/http://233747.hoster-test.ru/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=virtuemart --operation=emptydatabase
I pointed --addon=virtuemart not com_virtuemart.
						Accepted Answer
						Pending Moderation
					
				
				Hello,
You are correct, I made a typing mistake. Updated my previous post to show the correct syntax. Thank you.
			You are correct, I made a typing mistake. Updated my previous post to show the correct syntax. Thank you.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
	RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
						Accepted Answer
						Pending Moderation
					
				
				Is it still possible to use http request instead of command lines?			
			
						Accepted Answer
						Pending Moderation
					
				
				Not at the moment, I am looking into it to make it available in the next release.			
			Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
	RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
 - 1
 
There are no replies made for this post yet.
Be one of the first to reply to this post!
			Be one of the first to reply to this post!
		Please login to post a reply	
	
		You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.		Register Here »