Hi,
Ing. Daniel Manrique wrote on 30.08.2007 um 17:23:28 [Re: [BackupPC-users]
Backup every 15 minutes]:
> [...]
> I'd say something like:
>
> $Conf{WakeupSchedule} = [2.25,2.50,2.75,3.0,3.25......];
>
> ought to do the trick. Of course you have to complete the series and
> it's going to be an awfully long line specifying every 0.25th of an hour..
really?
$Conf{WakeupSchedule} = [map { $_ / 4 } (0 .. 95)];
doesn't seem too long. Of course, if you want to change the order (i.e. have
BackupPC_nightly run at a different time), you'll need to change the "0 .. 95"
to something like "8, 0 .. 7, 9 .. 95" (to have 2 a.m. as first entry). If
you only want Backups between 09:00 and 21:00 and a nightly run at 03:00,
you'd use "12, 36 .. 84".
That's what I like about Perl configuration files :-).
Regards,
Holger
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/