Commit Graph

7 Commits

Author SHA1 Message Date
Christian Schwarz
2b6f3ece6b jobrun: fix timing issue and minor printing issues
Would add offset by 1 sec
(possibly to avoid being scheduled just a little bit too early).

Turns out this leads to delays for jobs with interval < 2s :)
2017-07-01 23:19:31 +02:00
Christian Schwarz
af2aa9dfe1 cmd/jobrun: repeat strategies as part of jobrun 2017-07-01 23:19:25 +02:00
Christian Schwarz
55463e5f26 jobrun: per-job logger 2017-05-03 18:28:04 +02:00
Christian Schwarz
3b6d79ec67 jobrun: log through abstract logger interface instead of stderr 2017-05-03 18:27:55 +02:00
Christian Schwarz
226935ddea jobrun: error handling through notification channel 2017-04-30 23:47:12 +02:00
Christian Schwarz
c7927b27c1 Log to stderr. 2017-04-30 16:08:22 +02:00
Christian Schwarz
526255a9ef Implement jobrun package, abstraction for cron-like goroutines.
Unlike cron, there is no overtaking though.
2017-04-29 18:29:15 +02:00