changedetection.io icon indicating copy to clipboard operation
changedetection.io copied to clipboard

[feature] Add an option to specify cron-like rules for checking for diffs

Open dzek69 opened this issue 3 years ago • 12 comments

Use case:

  • I really want to be notified ASAP about new stuff on given website. So I set the low interval of 5 mins
  • But I don't like the idea of wasting resources (both from my side and site owner) - so I'd like to skip the checks on some specific hours where I sleep

Using cron-like rules I could save some resources.

Please consider this feature request, thanks!

dzek69 avatar Jul 29 '21 17:07 dzek69

Hi! I like it, there's the https://pypi.org/project/python-crontab/ library, I like the @daily @hourly type meta text too.

I have to think how the daemon side will fit in, it should connect up nice with the queue system that the software uses to place new watches in a queue to be checked

dgtlmoon avatar Jul 31 '21 08:07 dgtlmoon

related to #5 also, I guess the time selector needs a bit of refactor after all this time

dgtlmoon avatar Jul 31 '21 11:07 dgtlmoon

Was this idea abandoned?

OurGuru avatar Mar 18 '22 10:03 OurGuru

Hi, I'm curious too, this would be helpful or even better something similar to systemd's onCalender - https://silentlad.com/systemd-timers-oncalendar-(cron)-format-explained

stephenjamieson avatar Jul 29 '22 19:07 stephenjamieson

@OurGuru @stephenjamieson please read https://joeldenning.com/?p=29

but yes - in the future - right now theres some big functionalities missing that need addressing urgently

dgtlmoon avatar Jul 29 '22 19:07 dgtlmoon

Apologies, not trying to take up your time.

stephenjamieson avatar Jul 29 '22 19:07 stephenjamieson

the issue is noted and we'll get to it in due time :)

dgtlmoon avatar Jul 29 '22 19:07 dgtlmoon

do you plan to introduce cron syntax to the application? many of my workloads run only once a day (ideally in the morning).

MG-Sky avatar Jul 13 '23 15:07 MG-Sky

Will this be added in the UI?

Z0pyrus avatar Mar 13 '24 23:03 Z0pyrus

It would be way more convenient to have this functionality as a built-in UI option as opposed to having to use it via API with third-party task management apps.

iG8R avatar Mar 17 '24 19:03 iG8R