[question] What better to use "sleep" command or timer ?
Hi.
Maybe someone know what better to use in the script, the "sleep" command or timer that will start service file ?
What will eat lees our battery ?
For example my script always seat in background and run command every 20 sec with sleep command. Maybe instead sleep command, it better to create timer that will start service, and service will start my script once the same every 20 sec.
What you think ?
Thanks