setting up crontab

  • rajesh_r_r
  • Born
  • Born
  • rajesh_r_r
  • Posts: 1
  • Loc: India

Post 3+ Months Ago

Dear buddies
I want to set a cron job to execute a php file in every 1 hour. can any body help me out?

Rajesh
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • anubi
  • Student
  • Student
  • User avatar
  • Posts: 72
  • Loc: Milan - Italy

Post 3+ Months Ago

rajesh_r_r,
U have to add to crontab a line like this:

0 * * * * php /path_to_your_file/job.php

( in this way job.php will run on minute 0 of every hour )

:wink:
  • RichB
  • Guru
  • Guru
  • User avatar
  • Posts: 1121
  • Loc: Boston

Post 3+ Months Ago

There is some information about this in a prior post:

http://www.ozzu.com/viewtopic.php?p=5564

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 118 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.