[Resolved]cron cli command Topic is solved
[Resolved]cron cli command
I need cron for backup stuff, as command i use something like this :
but looks its not good as backup are not done.
Is this ok?...
Code: Select all
/usr/local/vesta/bin /home/admin/web/mydomain.com/public_html/akeeba_backup/cli/backup.php --profile=2
Code: Select all
/usr/local/vesta/bin
Last edited by khampol on Sat May 26, 2018 3:55 pm, edited 1 time in total.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: cron cli command
you should NOT use /usr/local/vesta/bin, it is VestaCP's internal PHP.
You should use Server-wide PHP installed in /usr/bin/php
run this command in your terminal
and see if it runs correctly and completes with the result
You should use Server-wide PHP installed in /usr/bin/php
run this command in your terminal
Code: Select all
/usr/bin/php /home/admin/web/mydomain.com/public_html/akeeba_backup/cli/backup.php --profile=2
Re: cron cli command
I run the command and that works! I correct in all my cron.
Thanks a lot :D
Thanks a lot :D