Cron4Phone

Cron4Phone


*****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

Recent changes:
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
Add to list
Free
85
4.3
User ratings
74
Installs
5,000+
Concerns
0
File size
170 kb
Screenshots
Screenshot of Cron4Phone Screenshot of Cron4Phone Screenshot of Cron4Phone Screenshot of Cron4Phone

About Cron4Phone
*****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

Recent changes:
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
User reviews of Cron4Phone
Write the first review for this app!
Android Market Comments
A Google User
Apr 29, 2014
Abandonware Immense battery drain and wakelocks
A Google User
Apr 20, 2014
5 HOURS 27 Min wakelock 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 needs training.
A Google User
Mar 2, 2014
Needs some guess work 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 the stuff Llama and Tasker do without the added learning involved with those apps.
A Google User
Mar 1, 2014
Great idea. 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.
A Google User
Jan 17, 2014
Very nice, just what I've been seeking!!! Very good!