For something like that you have to use the unix cron. The web2py cron is 
only for python tasks. Anyway, cron is deprecated now that we have the 
scheduler.

On Wednesday, 7 January 2015 18:51:48 UTC-6, SHAO MIN wrote:
>
>
> Hello there!
>>
>   I'm also having problem with my cron job.Basically i need to set a 
> command to let the system auto run every 1 mintue but when i try to place 
> the code inside the crontab -e it doesn't work.
>
> the command that i need to run is :
> pscp root @192.168.7.2:/home/debian/Desktop/SensorData/Sensor,txt 
> /home/student/Desktop/sensordata
>
> therefore in the crontab -e  to run every 1 minute i wrote :
> */1 * * * * /pscp root 
> @192.168.7.2:/home/debian/Desktop/SensorData/Sensor,txt 
> /home/student/Desktop/sensordata
>
> but it doesn't work.
> Can anybody help?
>  
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to