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 min
On Wed, Apr 17, 2013 at 7:38 PM, frocco 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 S
Thank you
On Wednesday, April 17, 2013 2:42:09 PM UTC-4, Shawn Milochik 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
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
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 lo
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 messa
6 matches
Mail list logo