Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
4f5cad99
Commit
4f5cad99
authored
Jan 11, 2005
by
erik%dasbistro.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 276660
"1st of the Month" whine generates many many copies of whine mail Patch: erik@dasbistro.com r=justdave, a=justdave
parent
d43362f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
whine.pl
whine.pl
+3
-2
No files found.
whine.pl
View file @
4f5cad99
...
...
@@ -523,8 +523,9 @@ sub reset_timer {
# whine.pl -- there are legitimate circumstances that can cause this, like
# a set of whines that take a very long time to execute, so it's done
# quietly.
if
(
grep
(
/^$schedule_id$/
,
@seen_schedules
))
{
if
(
grep
(
$_
==
$schedule_id
,
@seen_schedules
))
{
null_schedule
(
$schedule_id
);
return
;
}
push
@seen_schedules
,
$schedule_id
;
...
...
@@ -652,7 +653,7 @@ sub get_next_date {
else
{
# it's a number, so we set it for that calendar day
$add_days
=
$day
-
$now_day
;
# If it's already beyond that day this month, set it to the next one
if
(
$add_days
<
0
)
{
if
(
$add_days
<
=
0
)
{
$add_days
+=
$daysinmonth
[
$now_month
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment