Re: [web2py] Re: Cron job every 30 seconds

2013-11-28 Thread Javier Pepe
You can add cron job which sleep * * * * * sleep 0;/usr/local/apps/web2py/applications/sipacweb/private/run procesos.py * * * * * sleep 10;/usr/local/apps/web2py/applications/sipacweb/private/run procesos.py * * * * * sleep 20;/usr/local/apps/web2py/applications/sipacweb/private/run procesos.py

Re: [web2py] Re: Cron job every 30 seconds

2013-11-28 Thread Massimo Di Pierro
Please use the scheduler, not cron. Cron must die. On Thursday, 28 November 2013 05:22:28 UTC-6, Javier Pepe wrote: You can add cron job which sleep * * * * * sleep 0;/usr/local/apps/web2py/applications/sipacweb/private/run procesos.py * * * * * sleep

[web2py] Re: Cron job every 30 seconds

2013-11-28 Thread Leonel Câmara
Is the time critical? Do you have control/can program the server in the microcontroller? It seems to me as this should be reversed. Instead of you polling the microcontroller, the microcontroller should be sending you new data, either when it receives it or in batches. Terça-feira, 26 de

[web2py] Re: Cron job every 30 seconds

2013-11-27 Thread Brian M
web2py's scheduler will let you set the repeat period in seconds so you could probably do 30 seconds that way. On Tuesday, November 26, 2013 2:55:16 PM UTC-6, melmg wrote: Is is possible to set up a cron job to run every 30 seconds instead of a minute? I have a function that does an HTTP GET