Setting up cron jobs

nawas

Verified User
Joined
Jun 25, 2005
Messages
36
OK right i am setting up a cron using the tool in directadmin
for command i have put :wget --spider http://www.d4domains.com/whoiscart/collector.php >/dev/null
for minutes and hour i have put 0. FOr day of week, day of month, and month there is a asterix. It is set to access that url daily, but for some reason, it is not. I know this as in the script i am using, it says what tim e the script is ran. Can someone please tell me what im doing wrong.
 
Your cron job should be running every night at exactly midnight.

To see if the problem is in the cron system or your cronjob itself, try setting up a cronjob to send you an email every night at midnight and check to see if it does.

Once you know that works, then test the command yourself, logged in through the shell as the same user.

(If you can't do the test because you're a user without shell login ability, then you'll have to get your hosting company to help you.

Jeff
 
Back
Top