Cron4Phone

Cron4Phone

5,000 - 10,000 downloads

Add this app to your lists
View bigger - Cron4Phone for Android screenshot
View bigger - Cron4Phone for Android screenshot
View bigger - Cron4Phone for Android screenshot
View bigger - Cron4Phone for Android screenshot
*****YOUR PHONE NEEDS TO BE ROOTED TO USE THIS APP*****
This app can be dangerous if used wrong, if you use this app incorrectly and mess your phone up its your fault not mine. You wouldn't blame snap-on if the wrench you used breaks a bolt on your car, so don't try and blame me for what you do wrong with this tool. If you do I will only point at you and laugh.
*****YOUR PHONE NEEDS TO BE ROOTED TO USES THIS APP*****

-----------NEW INFO READ------------
After another full audit and help from Sascha Kerkeling and M. Porter, I redesigned Cron to no longer use long running service and instead now (correctly) uses AlarmManager to precisely execute tasks in a WakefullIntentService. This will will insure that all task are executed even when the phone is in deep sleep (even when the phoen doesn't hold any other wake locks) and barely uses any resources to accomplish this. I will now be able to focus on the UI... Dynamic task here we come!
-----------NEW INFO READ------------

Cron4Phone is a time-based job scheduler in Unix-like computer operating systems. Cron4Phone enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates. It is commonly used to automate system maintenance or administration, though its general-purpose nature means that it can be used for other purposes, such as connecting to the restart your phone and backing up apps. This is a foreground service so that it is guaranteed to stay running, use the home key to back out of the app or double tap the back arrow to kill the app. Killing the app kills the service.

Features:
Uses the standard Cron4Phone time string schedule.
Run all type of shell commands on any schedule you can think of.
Run tasks to shut your phone off on a schedule.
Auto restart so Cron4Phone continues to run even after a restart.
Small apk foot print.
unlimited concurrent tasks available.
Set a task as inactive/active.
Execute task at boot.
Import a script.
Cron String builder lets you visualize your time string.
Test execution setting to log commands only.

This tool can be used to do endless amount of things, I'm really looking forward to see what you guys can use it for so please share your ideas, command and schedules.

I have provided 3 tasks that I thought would be the most useful to most users shutdown, restart, and backup apps.

Please give feed back and or ideas so this app can grow.

Future plans:
The ability to have as many task as you want.
In app clock will be clickable to show qued tasks.

Key words: cron shell root terminal schedule cyanogen task

Tags: configure cron in, cron4phone, taskbomb.apk, taskbomb apk, cron4phone commands, how to use cron4phone in, taskbomb sample, cron shell, cron4phon e, wakefullintentservice.

Recently changed in this version

Please review the changes log for a full list of changes.

Added checkbox in task view, execute on boot, for easier management of this option. This option allows a task to be executed once when the phone boots, regards of its schedule or if its active.

Added column headers to the task list view. If your phone is mdpi resolution or lower, sorry you won't see them there just isn't enough room

Long pressing a task will now executing it on the fly


Comments and ratings for Cron4Phone
  • (45 stars)

    by Saadeya Qureshi on 29/04/2014

    Immense battery drain and wakelocks

  • (45 stars)

    by Shayraz Ikram on 20/04/2014

    Unbelieveably badly coded app, I created only 1 schedule, "ON BOOT". This app kept a wakelock for over 5 HOURS until I killed it. How come Tasker can manage to do the same thing without keeping a constant wakelock and killing battery? I check again now, com.commonsware.cwac.wakeful.wakefullIntentService=5 hours 44 mins using wakelock detector. This is no way to create an android app, developer nee

  • (45 stars)

    by Sam Aitcheson on 02/03/2014

    I needed something that would let me run scripts on a schedule. Tasker was too steep a learning curve for the simple task I needed and Llama couldn't seem to do what I wanted. This was the most approachable cron front end for Android I could find. After some trial and error it works well and does what I need it to. If you are good with a linux command line you might find this app will do a lot of

  • (45 stars)

    by Voytek Eymont on 01/03/2014

    Not sure if I can think of a use right now, but, what a great tool, thanks. Need to find some more sample scripts to get ideas.

  • (45 stars)

    by Yicong Fu on 17/01/2014

    Very good!

  • (45 stars)

    by Wunderflug Von Tinkelstein on 16/01/2014

    Device is rooted. Installed this app, tried all of the built-in jobs, wrote some of my own, rebooted (manually) several times, still no effect. Will probably resort to Tasker instead.

  • (45 stars)

    by David Back on 08/11/2013

    I've been looking for a simple CRON/AT app since my first Droid in '09. This is excellent (and I'm eager to see it's continued dev!).Since you can execute scripts, you can do almost anything-like launch specific functions of an app (you just need to know the entry point/intent,which is listed in the apps manifest!).No more wasting ram letting each app run it's own scheduler! Where's the pay versio