Re: [PATCH] [RFC] Add btrfs autosnap feature

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

 



On 05.03.2012 08:07, Fajar A. Nugraha wrote:
> On Mon, Mar 5, 2012 at 1:51 PM, Anand Jain <Anand.Jain@xxxxxxxxxx> wrote:
>>
>>> (notably the direct modification of
>>> crontab files, which is considered to be an internal detail if I
>>> understand correctly, and I'm fairly certain is broken as written),
>>
>>
>>  I did came across that point of view however, using crontab cli in the
>>  program wasn't convincing either, (library call would have been better).
>>  any other better ways to manage cron entries ?
>>
> 
> /etc/cron.{d,daily,hourly} ?
> 

An alternative would be to have an hourly (or minutely) fixed cronjob
and let the tool decide whether any snapshots have to be created. This
way you don't have to mess around with the crontab.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux