I like to use cron, mainly because it doesn't have the limiting factor mentioned for phpjobscheduler. I used to use the cron jobs for a different php script without problems. I edited it to suit the phpMySQLAutoBackup. However, when the cron job is run, this error is outputted:
Warning: chdir(): No such file or directory (errno 2) in /home/chalk/public_html/backup/run.php on line 30
Warning: main(phpmysqlautobackup.php): failed to open stream: No such file or directory in /home/chalk/public_html/backup/run.php on line 31
Warning: main(): Failed opening 'phpmysqlautobackup.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chalk/public_html/backup/run.php on line 31
I have checked that relative path over and over and I am positive it is correct. The script runs completely without problems when I access it via my web browser.
I know I have the cron command correct because it is the same as I have always used for everything successfully.
I have also put run.php in /home/chalk/public_html/backup/phpmysqlautobackup and it makes no difference.
Does anybody have any ideas please?