summaryrefslogtreecommitdiff
path: root/Changes
blob: 849f7e3e026c8a2262a70d92752ac2778c065ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
1.04        2022-10-08

- Merged "CHANGES" and "ChangeLog" into "Changes".
- Updated documenation sections: "AUTHORS", "CONTRIBUTORS", and
  "COPYRIGHT AND LICENSE"

1.03        2022-10-04

- Added option "processname" to set $0 to constant string (#9)
- Added tests for options "processname", "processprefix", and "nostatus" (#10)
- Added "Contributors" section to the documentation.

1.02_2      2013-12-19

- Fixed typos in the documentation (#88521).
- Fixed debug output slipped id (#83462).
- Fixed crontab with empty lines (#75176).
- Fixed skipping of jobs triggered at the same time when rescheduling (#70975).
- Added option "timeshift" in order to shift the execution point a bit
  (#69177).
- Made $? local in the reaper sub (#69110 and #69116).

1.01        2011-06-06

- Fix for RT #56926 which causes systems without SIGCHLD to exit on after 64
  forked processes.
- Patch for Makefile.PL applied which seems to have problems after the 
  reorganisation of the directory layout (RT #57914).
- Fix for RT #63089 which left over a time-window of 1 sec where Schedule::Cron
  could run havoc.
- Fixes for RT #68530 ("Exposing too much information..."), #68450
  ("Crash scheduling empty queue") and #68533 ("Thou shalt not REAP
  what thou has not forked...") provided by tlhackque. Thanks a lot!
- New options:
  * loglevel: Tuning of logoutput.
  * nostatus: Avoid setting $0 to next schedule time.
  * sleep: Custom sleep() function between two calls.
  
1.00        2010-05-14

- Fix for RT #54692 occured when removing an entry.
- Fixed #55741 with help from Clinton Gormley (a perl bug occuring when
  modyfing global hashes in an event handler).
- Fixed RT #50325 which could cause an infinite loop when calculating the next
  execution time
- Further bug fixes.

0.99        2009-09-12

* lib/Schedule/Cron.pm: Fixed issue for certain timeszone (like PST8PDT) where
  a backward DST switch make Cron.pm running amok by firing each job triggered
  in the extra hour without a delay between. Thanks A LOT to Eric Wilhelm for
  spotting and analysing this issue.

0.98        2009-04-03

- New option 'after_job' for new() which allows for a callback run after a job
  has been sucessfully run (RT #29040).
- Argument logging is done using data dumper (RT #39499).
- Private methods are now marked with '_'.
- Added tests for increased kwallitee.
- Switched over to Build.PL (Makefile.PL is still supported).
- Fixed some time calculation times (e.g. for the first DST switch in the
  year). 
- Allow comments at the end of a crontab line.
* lib/Schedule/Cron.pm (_calc_time): fixed some issues when calculating times
  for '*' entries.
* t/execution_time.t: Added test for checking proper DST behaviour.
* lib/Schedule/Cron.pm (load_crontab): Allow comment at the end of a crontab
  line.

0.97        2006-11-27

- Use POSIX only where available, otherwise fallback to an emulation of waipid.
- Fixed bug when previous SIGCHLD handler was not a coderef, but a tring value
  like "DEFAULT" or "IGNORE"
- Added tests
- Made test more robust so they work now also on system without alarm()
  functionality (Win32).
- Cron.pm:(run): Removed leading space when no process prefix is used (for
  backwards compatibility).

0.96        2006-11-05

- Applied patch for #4917 in order to be smarter to existing SIGCHLD handler
  and to reap only own childs.

0.95        2006-11-05

- If a scheduled method in 'nofork' manipulates the execution queue with 
  add_entry or delete_entry, it will be picked up during the next run. 
- Clarified different behaviour of global variables within the fork/nofork mode
  in the documentation.
- Fixed warning about non-numeric arguments when sorting. 
- Fixed bug which called to an undefined methods in a die-message
- Pretty print a hashref in $0 if provided as argument and the 
  prefix for the name to be shown in the process list can be configured
  with the option "processprefix".
- CHANGES: added patches and suggestions from
  - Andrew Danforth
  - Frank Mayer
  - Jamie McCarthy
  - Andy Ford
- Cron.pm: Worked on: Reexamination of crontabs entry in 'nofork' mode if
  someone has added a new entry.

0.9         2005-01-03

- Logging: It is now possible to add a reference to a custom logging
  subroutine to the constructor which will be used for logging certain
  events.
- NoFork: The option 'nofork' prevents Cron.pm from creating a new child
  process. Instead, the job is run within the current process. You can use the
  'skip' and 'catch' options to tune the behaviour.
- Cron.pm: added new options 'nofork', 'skip', 'catch' and 'log'.
- t/entry.t (Module): added and extended tests.
- Cron.pm (add_entry): added heuristic for parsing crontab with 6 time columns.
- (get_next_execution_time): allow a sixth column for specifing the second to
  start up.
- Cron.pm:(get_next_execution_time): added recognition of "*/5" notations
  (thanks to Loic Paillotin for spotting this problem).

0.05        2002-04-02

- Other bugfixes for parsedate problem with single digit hours/minutes 
  and warnings if argumentlist of command to execute is empty.
- Cron.pm: added patch from Lars Holokowo for working around a bug in
  parsedate, which has trouble in parsing times in the form "3:1 2000/6/30".
  Added tests to check for those dates.
- Cron.pm: added additional check for arguments to avoid warnings as suggested
  by David Parker.
- Makefile.PL: added check for Time::ParseDate as suggested by
  Philippe Verdret.

0.03        2000-06-12

- Cron.pm: Fixed bug in regexp splitting the crontab entry in
  get_next_execution_time() report by Peter Vary.
- Cron.pm: Fixed problem when reaping childs: Now SIGCHLD handler can handle
  more than one finished child at once (thanx to Bray Jones for discovering
  this bug).

0.01        2000-01-09

- Initial Release