I'm running tasks on my Tessel 2 using the
node-schedule module. Everything works fine, until I try to run a job several hours in the future. The Tessel seems to fall to sleep and doesn't run the job anymore. As soon as I put some network traffic on the board, it seems to wake up and runs the missed job.
node-schedule module uses
setTimeout to start the job. Since my script is not doing anything else (my theory is that) the process looks idle to the system and put to sleep.
Is it possible to configure this behaviour somewhere? Can I change the period until sleep mode is activated?
Thanks in advance