Termux-packages: Is it possible to run an hourly cron from termux

Created on 17 Jul 2016  路  5Comments  路  Source: termux/termux-packages

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

question

Most helpful comment

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.

All 5 comments

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.

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?

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

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

I implemented @stephengroat's suggestion - https://github.com/termux/termux-api/pull/235.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StephanBeer picture StephanBeer  路  3Comments

loveablefellow007 picture loveablefellow007  路  3Comments

neitsab picture neitsab  路  3Comments

bbtdev picture bbtdev  路  3Comments

tigran123 picture tigran123  路  3Comments