Re: how to use crontab and cron.daily

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nigel henry wrote:
> 
> Hi. I'm interested in setting up a cronjob. I'm using FC2, and using the 
> working example, crontab -l returned "no crontab for <user-name>" , so using 
> the suggested syntax I added myself to /etc/cron.allow, but trying crontab -l 
> still get the same result. There are 2 files in /etc. /etc/crontab, and 
> etc/cron.allow.
> 
What the error message is telling you is that <user-name> has not
created any cron jobs. So there are not jobs to list for that user.
If the user had created any cron jobs, even if they later deleted
the jobs. This is because each user has their own file with their
cron jobs listed in it. This file is create when you run "crontab
-e" and save the file. This file is not automatically created when
create a new user, or add them to cron.allow. That way, cron does
not have to process a lot of empty files.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux