Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a series of shell scripts and curl commands scheduled using crontab. I'm on Fedora 4. If I execute any of the scripts or curl's from the command line, they work fine. However none of the jobs seem to be kicked off from crontab.
I had to put "dots" and spaces after the slashes since the forum blocked me from posting a url.
I've set it to run every 10 minutes so I can just see what's going on (or not). The output.php script sends an email to my admin email account. Again, if I run the command from the command line, it works great. I've looked at the crontab log and nothing jumps out at me.
I'm running on a hosted, virtual dedicated server using Plesk as my control panel. It almost appears as if crontab isn't even running but I'm not sure how to check. The other thought that came to mind was a permission issue but I'm not sure where to start with that one. I don't believe crontab is permission based.
Thank you. I restarted crond and the crontab jobs seem to running fine. The man cron indicates "...cron need not be restarted whenever a crontab file is modified." which is now a little confusing to me.
After I restarted the service, I added another crontab entry but did not restart the service. This new job ran just fine which leads me to believe perhaps you don't need to restart crond after a new addition. However, restarting certainly solved my problem so I can't argue!
I primarily use Plesk control panel (version 8) to add or mofify crontab. I'm using Fedora 4, OS Linux 2.6.8-022stab067.1-enterprise.
I'm fairly new to Linux but have certainly had instances on Windows where services get "stuck". I'm just surprised that this would've happened with crontab on Linux since the server's just been so darn stable. Being a newbie I'm a little paranoid that something else might be going that caused the issue with crontab. But the site's humming and so are the cron jobs so maybe it just needed a good kick in the pants.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.