Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-04-2006, 01:09 AM   #1
DarkPeter
Confirmed User
 
Industry Role:
Join Date: Sep 2005
Posts: 183
Cron question

I need a script to be runned by cron each 4 minutes so i should use

*/4

in minutes field. But what if i need that script to be runned each 4 minutes but exactly at 00, 04, 08, 12, 16, 20, 24, etc.? (= not for example 03, 07, 11,...) May i use

00,*/4

as correct syntax? It should do that in first 00 it will be runned although previous run could be at 59 and then it goes to each 4 minutes. Am i guessing it well or is it nonsense?
DarkPeter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 01:13 AM   #2
chaze
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Posts: 9,752
hey peter,

Check out this free tool

http://www.clockwatchers.com/cron_tool.html

Love that thing
chaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 01:20 AM   #3
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by DarkPeter
I need a script to be runned by cron each 4 minutes so i should use

*/4

in minutes field. But what if i need that script to be runned each 4 minutes but exactly at 00, 04, 08, 12, 16, 20, 24, etc.? (= not for example 03, 07, 11,...) May i use

00,*/4

as correct syntax? It should do that in first 00 it will be runned although previous run could be at 59 and then it goes to each 4 minutes. Am i guessing it well or is it nonsense?
Simply */4 should do it...
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 02:00 AM   #4
J.P.
Confirmed User
 
Join Date: Jun 2004
Posts: 689
You can control it like this:

0-59/4

or if you want it to run at 01, 05, ...

1-59/4

Hope this helps
__________________
Webmasters! Looking for new affiliate programs to promote?
Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ...
J.P. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 02:02 AM   #5
LiveDose
Show Yer Tits!
 
LiveDose's Avatar
 
Industry Role:
Join Date: Feb 2002
Location: Somewhere Out there...
Posts: 25,792
Quote:
Originally Posted by chaze
hey peter,

Check out this free tool

http://www.clockwatchers.com/cron_tool.html

Love that thing

very nice.
__________________

Scammer Alert: acer19 acer [email protected] [email protected] Money stolen using PayPal
LiveDose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 02:12 AM   #6
uvort
Confirmed User
 
uvort's Avatar
 
Join Date: Mar 2003
Location: Metalcash.com
Posts: 3,580
Quote:
Originally Posted by chaze
hey peter,

Check out this free tool

http://www.clockwatchers.com/cron_tool.html

Love that thing
Nice tool indeed.
__________________
See Sig.
199907143
uvort is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.