Re: how to use crontab and cron.daily

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

 



On Thursday 06 July 2006 08:40, Antonio Olivares wrote:
> --- yogesh@xxxxxxxxxxxxxxx wrote:
> > hi
> >
> > how can i use crontab and cron.daily
> > plese try to explain with example
>
> http://www.unixgeeks.org/security/newbie/unix/cron-1.htmlhttp://www.unixgee
>ks.org/security/newbie/unix/cron-1.htmlhttp://www.unixgeeks.org/security/new
>bie/unix/cron-1.html
>
> http://www.fifi.org/cgi-bin/man2html/usr/share/man/man8/cron.8.gz
>
> working example:
> http://www.federicopistono.org/index.php?mod=Tutorial/Alarm_Clock
>
> Regards,
>
> Antonio

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.

/etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

Strangely on the other machine running FC2, I only have the crontab file 
in /etc, but on both machines in /etc I have directories for crond, cron 
daily. cron hourly, cron monthly, and cron weekly.

Services shows that crond is running, and anacron is stopped.

Any suggestions on how to set up a cronjob will be welcome.

Nigel.




>
> > --
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe:
> > https://www.redhat.com/mailman/listinfo/fedora-list
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux