XML Sitemaps Generator

Author Topic: cron job syntax  (Read 16315 times)

benlwalsh

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
cron job syntax
« on: June 14, 2008, 04:49:34 AM »
We purchased the generator last month and like it so much that we have decided to set up a cron job to run it daily.

I have not done this before and just wish to  ensure i have the correct changes prepared

I have found our server file /etc/crontab
It reads stuff like
# UTC time.
1,31   0-5   *   *   *   root   adjkerntz -a
39 21 * * * root /usr/local/sbin/updateVersionList.sh > /dev/null 2>&1

can i add to this 
0 1 * * * /usr/local/bin/php /usr/home/tubal/htdocs/generator/runcrawl.php > /dev/null

TIA
Ben
« Last Edit: June 14, 2008, 04:54:48 AM by benlwalsh »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: cron job syntax
« Reply #1 on: June 14, 2008, 09:54:42 PM »
Yes, that looks ok.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2