Commit Graph

11 Commits

Author SHA1 Message Date
Badlop 857d350a71 Update some modules to work with ejabberd 19.08 (#277) 2019-08-19 20:42:03 +02:00
Badlop e138359c7f Update modules for ejabberd 18.06 lack of jlib.hrl and ejabberd.hrl (#251) 2018-07-13 16:18:34 +02:00
Badlop 00e76aec2c Fix starting mod_cron in recent ejabberd 17.04 (#214) 2017-06-01 17:43:22 +02:00
Badlop 65f4267fc1 Replace now() which is deprecated (processone/ejabberd#1264) 2016-08-23 13:11:13 +02:00
Badlop b45fd21340 Fix mod_cron still looking for xml.hrl (#157) 2016-03-24 14:56:46 +01:00
Badlop 98ab39f962 Fix mod_log_chat and mod_cron compilation (thanks to Mathias Ertl)(#103) 2015-05-12 16:39:02 +02:00
Zach Goldberg aecd0e7deb Support two types of cron: interval and fixed
This updates mod_cron to have much more unix-cron like behavior.  The old
version would start an interval timer whenever ejabberd started, which isn't
a particularly useful starting point (I don't care for my regular activities
to be based on when the server was last booted).

This version allows two types of entries: timers based on an interval,
e.g. every 10 seconds (which would start on the minute, so occur at
00:00s, 00:10s, 00:20s etc) and fixed timers occuring once per
parent-interval.  e.g. a fixed 10s timer would occur at 00:10s,
01:10s etc. (ie its a one minute interval happening 10seconds
after every minute).
2015-02-11 16:23:38 -08:00
Badlop edb67df064 Update mod_cron for better YAML config support 2015-01-28 17:12:59 +01:00
Badlop 44f709ba38 Fix mod_cron to work with ejabberd git master 2015-01-28 13:55:56 +01:00
Mathias Ertl c62daaeeef fix includes for mod_cron 2014-06-29 10:14:15 +02:00
Badlop ee7d3c7030 Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00