Backup Cron Job
Forum » Wikidot version 1 / Bugs » Backup Cron Job
started by: Ed JohnsonEd Johnson
on: 1205249078|%e %b %Y, %H:%M %Z|agohover
number of posts: 1
rss icon RSS: new posts
Backup Cron Job
Ed JohnsonEd Johnson 1205249078|%e %b %Y, %H:%M %Z|agohover

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

unfold Backup Cron Job by Ed JohnsonEd Johnson, 1205249078|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License