summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarle Bjørgeengen <jarle@bjorgeengen.net>2010-03-03 09:27:47 +0000
committerJarle Bjørgeengen <jarle@bjorgeengen.net>2010-03-03 09:27:47 +0000
commit6ba688f8a86a06fca4316efa3e8c3ebc10c1471f (patch)
tree41a71fda0e21befa82758ff7dc7ac2bf370a604e
parent41666b032449775a39eb22f626a19a82c446ed32 (diff)
Typo in wrapper script and changed program reload to 0300
-rwxr-xr-xfrikanalen/bin/fk-stream.sh2
-rwxr-xr-xfrikanalen/bin/scheduler2
2 files changed, 2 insertions, 2 deletions
diff --git a/frikanalen/bin/fk-stream.sh b/frikanalen/bin/fk-stream.sh
index b792497..a24ff03 100755
--- a/frikanalen/bin/fk-stream.sh
+++ b/frikanalen/bin/fk-stream.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
workdir="/stream/frikanalen-bin"
diff --git a/frikanalen/bin/scheduler b/frikanalen/bin/scheduler
index 285a6f4..d86cd4d 100755
--- a/frikanalen/bin/scheduler
+++ b/frikanalen/bin/scheduler
@@ -279,7 +279,7 @@ if ( $opts{"s"} ) {
}
#print Dumper(@events);
- my $suicide_time = `date -d 23:59 +%s`;
+ my $suicide_time = `date -d '03:00 + 1 day'`;
Event->timer(at => $suicide_time,
data => {},
cb => sub {