Thread: Smart Q7 Tablet
View Single Post
Old 09-03-2009, 10:07 AM   #611
celtica96
Zealot
celtica96 began at the beginning.
 
Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
Cron

Quote:
Originally Posted by celtica96;
Otherwise, I think I'm going to work on my "now" script to automatically update itself (say hourly) and just assume I'll never be able to reset the hardware clock.
I've spent some time researching how to get my "now" script to run hourly or even more frequently.

Job scheduling commands include anacron, at, and cron.

Anacron is best suited for the SmartDevices Q5 and Q7 because they are turned off much of the time while cron is meant for systems that run continuously (24/7). Unfortunately, anacron will not work with jobs that run more often than daily so it's cron for my application.

My "now" script should be run as a crontab job.

Unfortunately, cron and crontab don't seem to be installed on the Q5 or Q7.

The folder /etc/ contains the expected subfolders for cron.d, cron.daily, cron.monthly, and cron.weekly.

The system-wide crontab file should be found in /etc/crontab but no such file exists.

Also, there should be a user-specific crontab found in /usr/bin/crontab but that does not exist either.

There's a GUI for creating crontab jobs called gnome-schedule but it won't work without a system crontab.

It's no simple feat to add cron to a system that doesn't have it up and running. I've been unable to find a thorough explanation of how to do this.

Essentially, from my Ubuntu newbie perspective, this means I've reached a dead end.

That's too bad because cron covers all sorts of useful activities like checking email, running a backup, setting a reminder, and so on.

If anyone can work out how to get cron and crontab working, please let me know.
celtica96 is offline   Reply With Quote