I Installed Perl on Termux and need an hourly cron (if network is available).
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.
Most helpful comment
Have you tried running
crontab -eto edit the crontab, and then startcrond?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
WAKEbutton.