New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Seonetic
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 1
Join Date: Nov 2009
Default android crontab

Hello everyone,

I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.

So does anyone have an idea how to realize this on android?
 
stryker01
Old
#2  
Junior Member
Thanks Meter 2
Posts: 3
Join Date: Jan 2008
look the application called "locale"
this is a event trigger applications with a lot of "plug-ins"
WOL plugin exist and time based (even location based) rule also possible
 
torrentss
Old
#3  
Member
Thanks Meter 0
Posts: 30
Join Date: Jan 2009
I use "timeriffic" to disable the ringer at night. It has lots of options, so check it out.
 
brack11
Old
#4  
brack11's Avatar
Senior Member
Thanks Meter 87
Posts: 1,214
Join Date: Dec 2008
Location: Ljungskile

 
DONATE TO ME
One more voice for timeriffic
 
riotdroid
Old
#5  
riotdroid's Avatar
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Mar 2010
Default ASE, not yet but soon supposedly

Android Scripting environment is supposed to be adding cron type scheduling for scripts relatively soon. As long as you're down with scripting that could work.
 
theloginwithnoname
Old
#6  
Senior Member
Thanks Meter 29
Posts: 580
Join Date: Mar 2010
Quote:
Originally Posted by Seonetic View Post
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake.
Realise this is an old thread but wondering if you made any progress with this, seonetic? Want to schedule a script to run every X seconds and so far all I've seen are apps that wrap a scheduler round the phone's functions - e.g. wifi on/off, silence on/off

Failing this, I may have to grab and build cron...
Samsung Galaxy Note running CM10.1 (one of the latest nightlies)
disclaimer: any info, code, or software I provide is used or installed at your own risk; I accept no responsibility for anything that may happen as a result of using them and, by temporarily or permanently doing so on your device, you are agreeing to these terms.
last updated: 26Apr13
 
Gene Poole
Old
#7  
Recognized Contributor
Thanks Meter 532
Posts: 1,641
Join Date: Jul 2010
Location: Brighton IL
Doesn't busybox implement cron?
 
theloginwithnoname
Old
#8  
Senior Member
Thanks Meter 29
Posts: 580
Join Date: Mar 2010
Quote:
Originally Posted by Gene Poole View Post
Doesn't busybox implement cron?
yes, it appears to:

http://www.busybox.net/downloads/BusyBox.html

Good shout, thanks! Will have a play around and report back.
Samsung Galaxy Note running CM10.1 (one of the latest nightlies)
disclaimer: any info, code, or software I provide is used or installed at your own risk; I accept no responsibility for anything that may happen as a result of using them and, by temporarily or permanently doing so on your device, you are agreeing to these terms.
last updated: 26Apr13
 
GinoAMelone
Old
#9  
Senior Member
Thanks Meter 45
Posts: 261
Join Date: Jun 2008
Location: Cleveland, Ohio
I've been thinking I'd like cron, too. However, I was worried about battery impact. Isn't the typical cron implementation dependent on a running CPU?
 
theloginwithnoname
Old
#10  
Senior Member
Thanks Meter 29
Posts: 580
Join Date: Mar 2010
Quote:
Originally Posted by Gene Poole View Post
Doesn't busybox implement cron?
I checked on my N1 and it doesn't have either of the cron applets. I'll grab the source and have a look at including it.
Samsung Galaxy Note running CM10.1 (one of the latest nightlies)
disclaimer: any info, code, or software I provide is used or installed at your own risk; I accept no responsibility for anything that may happen as a result of using them and, by temporarily or permanently doing so on your device, you are agreeing to these terms.
last updated: 26Apr13


XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more