Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to run an hourly cron from termux #358

Closed
Mannshoch opened this issue Jul 17, 2016 · 5 comments
Closed

Is it possible to run an hourly cron from termux #358

Mannshoch opened this issue Jul 17, 2016 · 5 comments
Labels

Comments

@Mannshoch
Copy link

I Installed Perl on Termux and need an hourly cron (if network is available).

@fornwall
Copy link
Member

Have you tried running crontab -e to edit the crontab, and then start crond?

Note that if you want this to be run always (not only when using your device) you will probably want to make Termux prevent the device from sleeping - pinch expand the Termux notification and press the WAKE button.

@Mannshoch
Copy link
Author

Thats the big Question is this a energie save solution is Termux created to use it this way or has Termux an other Solution build in. How could I add AFWall+ rule for such a self created service?

@stephengroat
Copy link
Contributor

Just an idea, the termux api could also add support for the JobScheduler api to allow something like this without having to run crond in the background

@Grimler91
Copy link
Member

Grimler91 commented Nov 26, 2017

I guess termux:boot and the tasker plugin could be helpful for this

@benmoran
Copy link

benmoran commented Dec 1, 2018

I implemented @stephengroat's suggestion - termux/termux-api#235.

@termux termux locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants