PDA

View Full Version : cron job question


sabret00the
04-28-2005, 11:36 AM
is it possible to get a cron job to run every 2.5 hours and have it running outside of the cron directory at all?

Colin F
04-28-2005, 11:42 AM
outside of the cron directory is possible, I'd guess, as you need to specify the path to the file.

Running it everyt 2.5 hours is harder...

Marco van Herwaarden
04-28-2005, 01:46 PM
Set it up twice, every half and full hour.

Then save the last runtime, and if not more then 2:15 hours ago, stop.

sabret00the
04-29-2005, 08:00 PM
if i just set the minutes, let's say 60 then left it, would it then run every 60 minutes?

Marco van Herwaarden
04-30-2005, 06:05 AM
Yes, if you set it only to 15 minutes, it would run 15 minutes after every hour.

sabret00the
04-30-2005, 06:23 AM
that's awesome, thanks marco :)