I am running Ubuntu server 9.10, and I am trying to set up some commands in my crontab. However, it seems that none of these commands are executed. I have noticed that there is a crontab group. Do I need to be a member of this group in order for cron to like me?

link|improve this question

Does anything show up in the logs? Do you get anything in your email? Show an example of your crontab entries. – Dennis Williamson Jul 14 '10 at 9:46
Gah. I tried to view my crontab with crontab -e, but the E and R keys are right next to each other. Time to figure out where my crontab actually resides so I can restore it from backups. – Ryan Thompson Jul 16 '10 at 16:00
feedback

1 Answer

up vote 1 down vote accepted

You do not need to be a member of the cron group to run cronjobs, just debug the commands you are trying to run.

link|improve this answer
1  
I just realized that my script relies on $PATH being set. And trivial other cron entries run just fine. – Ryan Thompson Jul 16 '10 at 16:18
1  
Actually, my script relied on $PERL5LIB being set, because my cronjob bash script calls a perl script that relies on some perl modules that are installed my my home directory. It's hard to remember what features depend on your environment. – Ryan Thompson Jul 24 '10 at 2:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.