Hi In addition to the previous advice i would also check /etc/init.d/cron to see if the daemon is running.
make sure you have the correct date+time settings in your shell eg: 'date' command. also run some sort of primitive debug command like: * * * * * touch "/tmp/$(date +\%d-\%m-\%Y-\%T)" for a couple of minutes to see if it executes. my money is on a path issue though ;) On Wed, Apr 17, 2013 at 6:42 PM, Shawn Milochik <[email protected]> wrote: > It's almost certainly an environment issue, such as an issue with your > PATH or PYTHONPATH. > > Just add to the command so that it puts all standard output and standard > error to a file to read what the message is. > > your_command &> /tmp/broken_cron.log > > Then rig your cron job to run ASAP and read the log. > > > On Wed, Apr 17, 2013 at 2:38 PM, frocco <[email protected]> wrote: > >> Hello, >> >> Can someone give me an example of running a cronjob hourly? >> I am on webfaction and cannot get this working. >> >> I tried >> >> @hourly /usr/local/bin/python2.7 ~/webapps/ntw/myproject/manage.py runjob >> submit >> >> I get no email >> >> If I SSH in and sunit manually, it works fine >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

