1. cybernaute
  2. RO CSVI
  3. Thursday, 17 December 2015
  4.  Subscribe via email
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!
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 1
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.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Is it still possible to use http request instead of command lines?
  1. more than a month ago
  2. RO CSVI
  3. # 4
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
  1. more than a month ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!