Backup Cron Job
(account deleted) 11 Mar 2008 15:24
I'm having problems trying to get the site backup Cron job to run without error.
Using Webmin (a slick tool! http://www.webmin.com/), I was able to pull some error messages.
First message:
Output from command /var/www/wikidot/bin/job.sh HandleBackupRequestsJob ..
/var/www/wikidot/bin/job.sh: line 20: cd: /var/www/www.wikidot.com/wikidot/bin : No such file or directory
/var/www/wikidot/bin/job.sh: line 21: . /job.php: No such file or directory
I'm not sure why the path includes www.wikidot.com, but after removing it, I get past that error and then got this error:
Output from command /var/www/wikidot/bin/job.sh HandleBackupRequestsJob ..
./job.php: line 1: ?php: No such file or directory
./job.php: line 3: /bin: is a directory
./job.php: line 4: syntax error near unexpected token `('
./job.php: line 4: ` * Wikidot (Community Edition) - free wiki collaboration software'
This is where I'm a bit stuck. I looked at the job.php file, but haven't been able to figure what needs to be edited to fix things. I have not been able to track down where the variable names are set.
Has anyone else run into this one? If so, can you help me fix it?
Thanks,
Ed