Math problem for you guys

Status
Not open for further replies.

djheater

Lifer
Mar 19, 2001
14,637
2
0
I have two servers running scheduled tasks against the same file share and I don't want them to bump into each other.
The process is currently running on one server every eight minutes and takes a max of 4 minutes to complete.
What schedule should I set on the other server to ensure they won't run into each other I can pick my start time for each server.
 

zebano

Diamond Member
Jun 15, 2005
4,042
0
0
purbeast0 probably has it right that this is a parody, but why do you need the second server?
 

halik

Lifer
Oct 10, 2000
25,696
1
81
I have two servers running scheduled tasks against the same file share and I don't want them to bump into each other.
The process is currently running on one server every eight minutes and takes a max of 4 minutes to complete.
What schedule should I set on the other server to ensure they won't run into each other I can pick my start time for each server.

Some prime number.
 

Tweak155

Lifer
Sep 23, 2003
11,449
264
126
This sounds stupid. If its a shared file just copy it before running it. No overlaps at that point.

If its a big file just copy it now and run it locally. If its really small and you don't want it on each server, copy, run, delete, etc.

EDIT:

Re-reading you may be referring to the same DB? Maybe more clarification would help.
 

JTsyo

Lifer
Nov 18, 2007
12,038
1,135
126
AAAA----AAAA----AAAA----AAAA----AAAA----

Well if they both take 4 mins to run your only option is to set it for every 8min, right after the first one is done. You can push both out to ten minutes and offset them to five minutes to ensure a gap.
 
Status
Not open for further replies.