FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » BACKUP from CRON
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: BACKUP from CRON [message #159677 is a reply to message #159665] Tue, 16 June 2009 02:36 Go to previous message
art is currently offline  art   United States
Messages: 35
Registered: June 2009
Karma:
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

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Get to User Land Permissions Directly?
Next Topic: OOPs
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 19:59:43 GMT 2024

Total time taken to generate the page: 0.04515 seconds