Posts: 4,647
Threads: 1,494
Joined: Sep 2016
a script needs to sleep to half past the hour. how would
you do it?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
it does not need to be run every :30. it just needs to sleep to the next :30 this one time after running some big slow stuff.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
Oct-24-2020, 10:24 PM
(This post was last modified: Oct-24-2020, 10:24 PM by Skaperen.)
the function i wrote would be called like
sleep_cycle(3600,1800)
.
source posted
here.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
you saying i should redesign this?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
if those libraries provided what i need, such as sleep to an expressed time, i think i would be using them. the script i made this for does a big batch of conversions then waits for the best time to queue up some big transfer jobs so they spend minimal time taking up space in the queue. the transfer server would be the one to use
schedule, except that it's all done years ago ... in C.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.