I recently installed timeshift and set it to backup weekly. However, when I looked in /etc/cron.d, I only found timeshift-hourly which ran:

0 * * * * root timeshift --check --scripted

which appears to check with timeshift if a backup is schedule and if so, do it.

However, I would like to set a cron email for every time I backup and I'm guessing that if I set if for timeshift-hourly, then I will get an email every time that it checks every hour. How would I be able to set a cron email for every time that timeshift does a backup and not every time it checks to see if it's time to backup?


This is already built-in to Timeshift, just disabled by default. The following picture is from the Timeshift setting menu; just uncheck the Stop cron emails box and you should be good to go.

Timeshift Settings

  • Where would I add my destination email address?
    – Paradox
    Nov 24 '19 at 21:41
  • 1
    Since the Timeshift process is run as root, that's who would get the email. You could create an alias for root, but that would shift all of root's emails. Nov 24 '19 at 21:43
  • I just edited crontab with vim /etc/crontab and added MAILTO=myaddress@domain.com. Hopefully, this works.
    – Paradox
    Nov 24 '19 at 21:46
  • I've never tried that switch, but it should work. Nov 24 '19 at 21:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.