Should cron's @reboot be able to call a script or can it just call a
controller function?
The docs just show a controller function for this mode:
http://www.web2py.com/examples/default/cron
I'd like to be able to call an external script instead...this isn't
working even for very simple scripts though.
(The scripts run fine when called manually)
I tried both syntaxes shown in the docs:
@reboot root *applications/sahana/cron/test.py
@reboot * * * * root *applications/sahana/cron/test.py
Any ideas what could be wrong?
I've tried on both XP (with Service & with Source) & Linux with Apache/
WSGI
- how should @reboot work in the latter environment?
XP with source, I just get this error:
WARNING:root:WEB2PY CRON Call returned code 1:
Which isn't erribly helpful...
F