FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


trouble setting up cron job





inphurno
hi, i'm trying to setup a cron using the instructions i found in this post:

http://www.frihost.com/forums/vt-113492.html#941492

no luck Sad

this is what i have setup under "cron jobs" in direct admin:

44 * * * * /usr/local/bin/php -q /home/inphurno/domains/whatsyourimpact.com/public_html/atrium/crontest.php

not sure what i'm missing here so any help would be appreciated Smile
Bondings
The syntax works fine for me. I'll test it out.
inphurno
i figured out the problem, what i was really trying to do was setup a cron for my drupal install. i could see that the script was getting run because i added a debug email to it but drupal was still complaining that the cron was not being run. i changed the cron from running the script directly to having it run using a curl: curl --silent --compressed. after this everything looks to be working fine Smile
Related topics
Questions about cron jobs and permissions
Cron Job to Backup MySQL Database
cron job
How to run a cron job on a server
Cron job
what can a cron job do for you?
Cron job and browser output question
Cron job
ΏCron Job en Frihost?
How to get a php script working under a cron job?
CRON Jobs
Run a php Script with a Cron Job
Possible cron job usage?
Cron Job usage on FriHost
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.