Active Topics

 


Reply
Thread Tools
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#1
Anyone know how to create and edit cron jobs on OS2008? I've got Chinook right now.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
There is no cron.
__________________
Ryan Abel
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#3
Holy cr**! Seriously!? 0_0 How does the unit do it's daily task stuff then? I thought all Linux systems had cron. I know you don't need to run daily reports and the like, but I would suspect that there's something you'd want to run daily, hourly, etc.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#4
alarmd

cron is a battery killer, alarmd does the same stuff but with battery life in mind.
__________________
Ryan Abel
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#5
Ah, didn't know that cron was that much of a battery hog. So where's the man file for AlarmD? The reason I'm asking is I'm looking at writing a perl script that acts as a locater for my NIT should someone walk off with it. But for it to work, it needs to wake up every so often and report where it's at.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#6
Originally Posted by Lord Raiden View Post
Ah, didn't know that cron was that much of a battery hog. So where's the man file for AlarmD? The reason I'm asking is I'm looking at writing a perl script that acts as a locater for my NIT should someone walk off with it. But for it to work, it needs to wake up every so often and report where it's at.
This might help.
__________________
Ryan Abel
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#7
Ah, danke good sir.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#8
Also: http://maemo.org/api_refs/4.0/alarm-api/
__________________
Ryan Abel
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#9
Originally Posted by GeneralAntilles View Post
alarmd

cron is a battery killer, alarmd does the same stuff but with battery life in mind.
Not really: I looked at the cron source when the 770 was released and it quite properly sleeps until the next alarm - so shouldn't be too much of a battery hog. Although it wouldn't provide a mechanism for waking up the device from power-off, like alarmd without some of the code in alarmd.

alarmd is the right way, as you say, but it's just Nokia's NIH syndrome rather than any technical reason (a DBUS API to cron would be achievable, but harder work without an XML backend).

Similarly, a crontab interface to alarmd would also be achievable (but for very little benefit).
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following User Says Thank You to Jaffa For This Useful Post:
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#10
Really, I wouldn't care if cron didn't wake up the device. My goal is to write a script that helps me track a stolen nokia tablet every time it goes onto wifi. Eventually at some point, the thief *will* take it online, and when they do, I'll have their info. The catch is that the script needs to be set to run every xx number of minutes. Hence my preference to using cron. Although since there's no cron, alarmd will do.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:04.