Hi,
I was trying to use the cron property of web2py at my project. I am
using web2py under windows 7. I had installed wamp server with mod_wsgi.
According to the documentation it is suggested to use the external cron.
I tried to test the soft cron issue so i added the below line to my
application crontab
#crontab
*/2 * * * * root *decrease/
and at the controllers directory the decrease file is as is
# coding: utf8
def index():
f=file("C:\\Users\\oguz\\hede.txt", "w+")
f.write("ok")
f.close()
return dict()
So when the application is loaded shouldn't i see the txt is created at
every 2 minutes?
What is the usage of the root keyword at the crontab file? For windows
application what should it be?
And if i want to use the external cron method, it says i should add a
line to system cron file. This doesn't sound me so effective at my
application so i will be prefering to use something like pycron. Anybody
tested these things at windows 7?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.