Support

Akeeba Backup for WordPress

#27492 Command-Line CRON jobs virtualmin

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Sunday, 07 May 2017 17:17 CDT

jvrproductions
hello. I am trying to setup a crom job on virtualmin can some one please let me khow what i am doing incorrectly?

My command is: /home/xxxx/public_html/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=2

The output
Output from command /home/xxxx/public_html/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=2 ..
/bin/sh: 1: /home/xxxx/public_html/wp-content/plugins/akeebabackupwp/app/cli/backup.php: Permission denied

I did try to run the command as root too but same happen

Thanks

tampe125
Akeeba Staff
Hello,

you're almost done, you're not calling PHP executable. It should be something like this:
/path/to/php /home/xxxx/public_html/wp-content/plugins/akeebabackupwp/app/cli/backup.php --profile=2

You'll have to change the string /path/to/php with the actual path to your PHP executable, this is something your host or sysadmin should be able to tell you.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!