Centos 6.2, sheduled tasks (cron)

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



Hi all,

I wanted to schedule some rsync backups and found that CentOS is by 
default using anacron.

I'm mostly used with the historical cron, but let's follow the progress :-)

- I made a shell script in /etc/cron.daily/dobackup
- I made it 755, root.root.
- In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines 
unchanged)
- When I manually run /etc/cron.daily/dobackup, it runs quietly (no errors)

Where should I check if the task scheduler is setup correctly (logs)?

Must I reload a service (BTW, is it "crond" yet?) after editing 
/etc/anacrontab?

How to tell that it may launch between 21:00 and 5:00?
- START_HOURS_RANGE=21-05?
- START_HOURS_RANGE=21-23,00-05?
- ...

-- 
RMA.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux