Welcome Guest, Not a member yet? Register   Sign In
Trying to create a cron job to run if a condition is true
#9

(03-05-2015, 06:56 AM)alexandervj Wrote: I figured it out, I had the greater than less than signs backwards haha thanks for your help!

Those are always the best! I once had an application with some code that said, if the value is positive then subtract it and if it is negative then add it - took me hours to work out why the negative values kept doubling up whilst the positives reset themselves to zero!

I believe NASA once lost a rocket due to the same error in a guidance control system Undecided
Reply


Messages In This Thread
RE: Trying to create a cron job to run if a condition is true - by obiron - 03-05-2015, 12:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB