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!
Hello,
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
I try to execute the command and get next result:
php /storage/home/srv55821/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/233747.hoster-test.ru/administrator/components/com_csvi/helper/cron.php --task=maintenance --addon=virtuemart --operation=emptydatabase
I pointed --addon=virtuemart not com_virtuemart.
Hello,
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
Is it still possible to use http request instead of command lines?
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
Log in to reply to this topic.