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

Re: Time for some backups



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 simpaticus com
http://www.simpaticus.com




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