Home »
FUDforum »
How To »
BACKUP from CRON
|
|
|
|
Re: BACKUP from CRON [message #159677 is a reply to message #159665] |
Tue, 16 June 2009 02:36  |
art
 Messages: 35 Registered: June 2009
Karma: 0
|
Member |
|
|
I found the problem after talking with my service provider.
They have a weird way of running php programs from cron. Rather than specifying the path to the php executable, they have you use this intermediate script:
/hsphere/shared/php5/bin/php-cgi
So my command in crontab is this:
cd /hsphere/local/home/tesla/forum/adm;
/hsphere/shared/php5/bin/php-cgi ./backup.php /hsphere/local/home/tesla/forum/tmp/FUDforum.fud.gz 1
Thanks for help, everyone!
[Updated on: Tue, 16 June 2009 02:37] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Mar 08 12:18:27 GMT 2025
Total time taken to generate the page: 5.89015 seconds