Help with cron syntax
Posted
by
Randy
on Pro Webmasters
See other posts from Pro Webmasters
or by Randy
Published on 2010-12-31T16:19:20Z
Indexed on
2012/10/19
17:19 UTC
Read the original article
Hit count: 182
I need to setup a cronjob on my webhost.
The documentation for my webapp reads as follows:
you will need to create following cronjob: /public_html/cake/console/cake -app /public_html/app master
Also, I want any output written to a log file. My hosts documentation says this:
You can have cron send an email everytime it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command's output to /dev/null like this: mycommand >/dev/null 2>&1
Can someone help me write the cron job? I dont know the syntax at all. Thanks for the help!
© Pro Webmasters or respective owner