Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make snapshots on custom schedule (manual crontab entry) #881

Open
ntropia2 opened this issue Mar 20, 2018 · 3 comments
Open

How to make snapshots on custom schedule (manual crontab entry) #881

ntropia2 opened this issue Mar 20, 2018 · 3 comments
Labels
Documentation Feature requests a new feature Scheduling cron, anacron etc.

Comments

@ntropia2
Copy link

I think my issue is similar to another issue [1].
It would be great if BiT would be able to extend the support for the crontab format, and allow backups to run only on business days, e.g. "0 0 * * 1-5".

I would imagine this is a rather common scenario, when people don't alter files over the weekend, so it is possible to save the backup disks some wearing.

I can always edit the crontab manually, but it gets constantly overwritten by BiT.

Thanks a lot for the great work!

[1] #880

@Germar
Copy link
Member

Germar commented Apr 11, 2018

Just deactivate the schedule and add you crontab line manually without removing the other lines in crontab. This should keep your custom lines.

@emtiu emtiu added Documentation Scheduling cron, anacron etc. and removed question labels Sep 12, 2022
@emtiu emtiu changed the title Business days only How to make snapshots on custom schedule (manual crontab entry) Sep 12, 2022
@emtiu emtiu added the Feature requests a new feature label Sep 12, 2022
@emtiu
Copy link
Member

emtiu commented Sep 12, 2022

This has been answered above (and here: #880 (comment)), but I think it's something that should be documented, or maybe even shown in the GUI.

I can imagine that users might wonder: "If backintime simply uses good old contab for scheduling, how can I define my own custom schedule by writing my own crontab line?"

I could even imagine a "custom contrab schedule" feature, where you could enter your own scheduling code (like 0 0 * * Mo-Fr) in the GUI, but it would probably be tricky to verify and sanitize the user input.

@buhtz
Copy link
Member

buhtz commented Jun 4, 2024

Related to redesign the schedule section #1449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Feature requests a new feature Scheduling cron, anacron etc.
Projects
None yet
Development

No branches or pull requests

4 participants