diff options
-rwxr-xr-x | frikanalen/bin/scheduler | 2 |
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 { |