Re: Time for some backups

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

 



At 20:01 3/12/2004, you wrote:
On Sat, 2004-03-13 at 01:28, Ed Wilts wrote:

>   Here's my crontab entries:
>
> 50 10,12,14,16,18,20 * * *    root rsnapshot -q hourly

In this case, you are aware it could be written more simply, yes?


50 10-20/2 * * * root rsnapshot -q hourly

Merely mention the range (10-20) and show that you want it every two hours (/2). You could even add in an entirely different time like 1am like this:

50 1,10-20/2 * * * root rsnapshot -q hourly

It's simply amazing how flexible cron's time descriptors are.


-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx http://www.simpaticus.com


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux