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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.