summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarle Bjørgeengen <jarle@bjorgeengen.net>2010-03-03 11:50:49 +0000
committerJarle Bjørgeengen <jarle@bjorgeengen.net>2010-03-03 11:50:49 +0000
commitaa4d0a21ee2b825e7d8454fa9e58f447c7eeba96 (patch)
tree1eb3f74b0e52a32e0d3931dd436c892224b2ec47
parent6ba688f8a86a06fca4316efa3e8c3ebc10c1471f (diff)
Bugfix
-rwxr-xr-xfrikanalen/bin/scheduler2
1 files changed, 1 insertions, 1 deletions
diff --git a/frikanalen/bin/scheduler b/frikanalen/bin/scheduler
index d86cd4d..0db03b3 100755
--- a/frikanalen/bin/scheduler
+++ b/frikanalen/bin/scheduler
@@ -279,7 +279,7 @@ if ( $opts{"s"} ) {
}
#print Dumper(@events);
- my $suicide_time = `date -d '03:00 + 1 day'`;
+ my $suicide_time = `date -d '03:00 + 1 day' +%s`;
Event->timer(at => $suicide_time,
data => {},
cb => sub {