to prevent any misbehavior of the cron daemon, please stop the daemon before starting any OS upgrade
Frontend for the cron scheduler. Makes it easy to view your schedules in a more friendly way.
Also gives the opportunity to fully manage crontabs of nemo and root. The usual warning: always be careful with root permissions. Disabling is achieved by adding a specific comment string in the cron entry.
Displayed commands can be replaced by a more meaningful text.
Using cron-descriptor for the conversion of cron expressions into human readable strings.
Using python-crontab for the cron timestring syntax check.
Needs vixie-cron or cronie as cron daemon, which can be found in my repo.
Loading a large crontab can cause some unresponsiveness.
If you want to play more with the crontab syntax, you can have a try here: http://www.corntab.com/pages/crontab-gui
Why use cron as a scheduler?
Swedish translation: eson
Sources can be found on github
Comments
ade
Tue, 2016/02/16 - 12:29
Permalink
If only I could :-)
Uploaded version 0.0.1-6 with corrected text.
Self_Perfection
Thu, 2016/02/11 - 18:07
Permalink
I don't like this approach. Systemd timers are known to not activate while a phone in deep sleep, is using cron reliable enough? Are we sure, that cron does not increase amount of wakes from sleep and therefore does not affect running time on one charge much? Anyway this approach requires installation of one more packet and running one more daemon in background, and RAM is always scarce on Jolla.
We can use native system timed service for running scheduled tasks. And I successfully use it for running several scripts on schedule. But I had to create these events with CLI interface
timedclient-qt5. In the process of creating these tasks I've discovered that timedclient-qt5 is rather buggy and does not support all timed features, so eventually I modified ~/.timed/events.data with text editor to get what I want.IMHO UI for managing timed events would be much more useful.
ade
Sat, 2016/02/13 - 14:33
Permalink
Afaik it gets a wakeup every minute (also the minimum time to schedule). No noticable extra power consumption (been using it from the beginning).
The memory footprint, including shared memory, is about 390.0 KiB.
My experience with timedclient-qt5 is not that it is buggy, but a lot of parameters are not implemented (for example hide snooze for an alarm). I don't want to hack in the event files afterwards. I was hoping for clearly documented API calls to talk to timed (as I was used to on the N900), but it looks Jolla still has a lot to do on this matter.
So in the mean time I am perfectly happy with cron to do the job scheduling for me.
objectifnul
Thu, 2016/02/11 - 11:07
Permalink
Looking for CLI options for "harbour-sailwave" and/or "harbour-quickradio" terminal commands allowing to launch playback of a selected station and to convert Sailcron into a radio alarm clock.
ade
Thu, 2016/02/11 - 23:29
Permalink
The question is not really related to Sailcron, but anyway :-)
A typical command line for this would be:
bash -l -c "/usr/bin/gst-launch-0.10 -v playbin2 uri=http://download.banshee-project.org/misc/http-test.ogg"
This plays the short test file over http at the given cron time. But gst-launch does not seem to support radio streams well.
Harbour-sailwave does not support parameters, but LLs Video Player does.
The command
bash -l -c "/usr/bin/harbour-videoPlayer -p http://icecast.omroep.nl/3fm-live-mp3"
will start Video Player and play the stream.
Note that I use "bash -l -c" because cron is not aware of environment variables. You could also source /etc/profile for this.
objectifnul
Sat, 2016/02/13 - 12:05
Permalink
LLs trick (harbour-videoPlayer) is perfect!
Pages