Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have checked that PHP page by running direcly on command prompt and using Browser and working fine.... but when i put this into crontab to assume that it will run at the certain time i m not able to see the results....
i m working with $ prompt not as root..
i have a decated server within third parth premises and i only have shell access....
/var/log/messages or /var/log/cron will probably have the answer, as it will tell of the error or output.
How about trying your command and write to /tmp instead of that long string you used?
30 9 * * * date >> /tmp/cron.out
If it is a permissions issue this will let you know because then cron will work.
Are you stopping and restarting cron after modifying the entries?
In RH I can do crontab -e then it automatically restars the cron daemon which in turn rereads what is in each cron file. So it has the most up to date copies to execute.
Ahh, you have to be root to do crontab -e. I forgot you can't do that.
I wonder if the admin restarts the cron service via cron once a day or so. Things might have changed but from what I know your cron entry won't be picked up until the cron daemon restarts.
edit to add:
if your doing the crontab cmd it is PROBABLY restarting the cron daemon when you close the file. Try redirecting to /tmp as suggested above and see what you get.