Cron Jobs

Hello,
I need help to setup cron jobs to run once daily, this is what im try now.

00 18 * * * /usr/bin/php  /home/name/site.name.in/html/5467.php

But looks that not work very good… :frowning:

IMHO this is a very bad idea IF this crontab is being executed as root user! Ofcourse I don’t know what the script should do.

But we always advice our customers to execute cronjobs with the lynx command. So you have something like this:


00 18 * * * wget -O- --spider --quiet http://site.name.in/html/5467.php  

Ofcourse you should only allow access to this script for certain ip addresses :slight_smile:

What does “not work very good” mean? Where is that cron job run from?