Here's an example of something taken straight from my crontab from a
WebFaction account:

44 * * * * cd ~/webapps/awstats_milocast;./update_awstats.sh

This runs on minute 44 of every hour. There are five "time" parameters. The
first one is "minute." If you set a number there, it'll run on that minute
every hour.


On Thu, Apr 18, 2013 at 6:16 AM, Tom Evans <tevans...@googlemail.com> wrote:

> On Wed, Apr 17, 2013 at 7:38 PM, frocco <faro...@gmail.com> 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
>
> Specify the full, absolute path to the file. Cron won't expand '~'.
>
> Cheers
>
> Tom
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to