Re: [Ubuntu-phone] Cron incomplete performance in UbuntuPhone

2015-12-08 Thread Michael Zanetti
Hi, you can use powerd-cli to schedule a wakeup at 7am. checkout powerd-cli --help. There is an option to schedule a device wakup n seconds from now. Not sure how reliably that works in combination with a cron job... but well, play around with it. On 08.12.2015 16:28, Rasool Ent. wrote: > Thank

Re: [Ubuntu-phone] Cron incomplete performance in UbuntuPhone

2015-12-08 Thread Wayne Ward
I have mine triggering hourly for * contacts * calendar * data Using the example i sent using not much battery power :) http://wayneward.co.uk/ubuntu-touch/ubuntu-touch-dbus-cron-jobs/ Wayne On 08/12/15 14:30, Michael Zanetti wrote: Seems like cron events are skipped when the device is i

Re: [Ubuntu-phone] Cron incomplete performance in UbuntuPhone

2015-12-08 Thread Wayne Ward
this might help ;) http://wayneward.co.uk/ubuntu-touch/ubuntu-touch-dbus-cron-jobs/ Wayne On 08/12/15 14:05, Rasool Ent. wrote: Hello I have a Nexus 4 stable ota8 I'm in Ubuntu, I use cron utility. But the phone when the screen is turned off, the process fail. What should I do so that I can a

Re: [Ubuntu-phone] Cron incomplete performance in UbuntuPhone

2015-12-08 Thread Michael Zanetti
Seems like cron events are skipped when the device is in deep-sleep. You could work around that by using something like "anacron" instead of regular cron. Another option would be to prevent your device from going to deep sleep (e.g. by using "powerd-cli active"). This however, will drain your bat

[Ubuntu-phone] Cron incomplete performance in UbuntuPhone

2015-12-08 Thread Rasool Ent.
Hello I have a Nexus 4 stable ota8 I'm in Ubuntu, I use cron utility. But the phone when the screen is turned off, the process fail. What should I do so that I can always use cron? This command inside my cron. * * * * * /home/phablet/script2.sh And this is the script containing the command "ls":