When trying to run with the "./bkp" command displays the following message:
root @: / var / backups # ./bkp.php
./bkp.php: line 1: php: File or directory not found
./bkp.php: line 2: syntax error near the token 'not expected' ('
./bkp.php: line 2:// This script was created by phpMyBackupPro 2.5 (http://www.phpMyBackupPro.net) '
Could help me?
Thank you so much!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I was in need of help.
It can enter the php script to be scheduled by the Crontab?
I tried using the following lines, but the bakcup was not made.
My script is /var/backups/bkp.php
0 2 * * / usr / bin / php5 /var/backups/bkp.php
0 3 * * / usr / bin / php5-cgi /var/backups/bkp.php
0 1 * * / usr / bin / php /var/backups/bkp.php
0 4 * * / usr / bin / php-cgi /bar/backups/bkp.php
When trying to run with the "./bkp" command displays the following message:
root @: / var / backups # ./bkp.php
./bkp.php: line 1: php: File or directory not found
./bkp.php: line 2: syntax error near the
token 'not expected' (' ./bkp.php: line 2:
// This script was created by phpMyBackupPro 2.5 (http://www.phpMyBackupPro.net) 'Could help me?
Thank you so much!!!