Closed lebovitz closed 10 years ago
By the way - this was for a "weekend" day (maybe it happened because this number is at the end of the line in the configuration file).
Thanks for the comment. Did you install the deb file? I just updated it a couple of days ago. Is it working now or are you still getting errors?
Mike
Deb package.
Have a nice day
Noam(le)
On 5 בדצמ 2013, at 04:17, grover66 notifications@github.com wrote:
Thanks for the comment. Did you install the deb file? I just updated it a couple of days ago. Is it working now or are you still getting errors?
Mike
— Reply to this email directly or view it on GitHub.
Basically it works fine. I do still need to see what happens on a weekend, as this is the "interesting" scenario.
On Thu, Dec 5, 2013 at 8:20 AM, Noam Lebovitz lebovitzn@gmail.com wrote:
Deb package.
Have a nice day
Noam(le)
On 5 בדצמ 2013, at 04:17, grover66 notifications@github.com wrote:
Thanks for the comment. Did you install the deb file? I just updated it a couple of days ago. Is it working now or are you still getting errors?
Mike
— Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/4#issuecomment-29866219 .
I installed the package successfully, but when running "kidtimer check", which runs the go_check subroutine, there was an error. The error was on the line "C=$((C - 1))" This was because the time (in minutes) read from this line: C=cat $basedir/time/$I.ttl contained a "\n" character. So it couldn't perform the subtraction operation on a string.
Once I removed the "\n" from the ttl file it worked OK.
I'm still not sure what happens on a new day. Will the "\n" character return or not. But still need to make sure the "\n" will not be written to this file.