Search results

  1. I

    Determining if a day is 0 or 1

    If that's the case, then its still not exactly what I'm looking for. What I'm looking for is this: I have 2 schedules that are run alternately on multiple servers Schedule A runs on day 0 Schedule B runs on day 1 If there is a maintenance on one server, I want it to continue on...
  2. I

    Determining if a day is 0 or 1

    I primarily use PHP so I have no problem parsing and reading the file. $ini_array = parse_ini_file(myini.ini, true); for($i=1; $i <= 28; $i++){ echo $ini_array['feb']['$i']; } However, after reading your python script, I'm still a little confused as to how it works.
  3. I

    Determining if a day is 0 or 1

    The bolded text is indeed my answer. Because my script was designed with two schedules alternating every day.
  4. I

    Determining if a day is 0 or 1

    Now we're getting some where. However, you are wrong. That is my overall goal here. Its not a step towards my goal. It IS my goal.
  5. I

    Determining if a day is 0 or 1

    My overall goal is as I stated it before. Assigning a number to a day, in which, alternates every other day unless there is an exception, such as a weekend or holiday. I would like for it to start on an arbitrary date, continue on while alternating between 0s and 1s, skipping weekends and...
  6. I

    Determining if a day is 0 or 1

    Nope. I just looked through your code again and I realized that you thought I mean every monday = 1 or tuesday = 0. If I added on to my February example, you would come up with this: Feb 1st = 0 Feb 2nd = 1 Feb 3rd = 0 Feb 4th = 1 Feb 5th = skip Feb 6th = weekend Feb 7th = weekend...
  7. I

    Determining if a day is 0 or 1

    I haven't decided. I was going to put it into an ini file though.
  8. I

    Determining if a day is 0 or 1

    Yeah, that is what I mean, but it doesn't work when you skip a day. For instance: Feb 1st = day 0 Feb 2nd = day 1 Feb 3rd = day 0 Feb 4th = day 1 Feb 5th = skip Feb 8th = day 1
  9. I

    Determining if a day is 0 or 1

    Say I wanted to set a day as 0 or 1 for weekdays only, alternating every day with an occasional day where you skip alternating and go on to the old value. E.g. 0,1,0,1,0,break,0,1,0,1,0
  10. I

    How do i add a page

    Go to cPanel Click 'File Manager' Click 'New File' Type in 'affiliate.html'
  11. I

    Chopin Expedited Copy

    http://sigma.elementfx.com Am I too late?
  12. I

    Should old games be legal to download?

    Yeah, games should be free after they've become obsolete and have become production shelved.
  13. I

    how do you run .exe files

    You can't run an executable on a UNIX based server...
  14. I

    If a nuclear World War III were to break out tommorow, what would you do?

    What would I do? I'd just go back to sleep. I'm going to die one way or another, and dying from a nuke is fine by me.
  15. I

    Self-Sacrifice

    I wouldn't, simply because it involves killing myself. I don't see the point of suicide even if you saved someone.
  16. I

    do you like my c++ game

    cin.get() works as well for him in this case.
  17. I

    Peta

    The problem is that PETA assumes all animals should have the exact same rights as humans. They're assuming that all animals are self-aware, sentient, and anything else you want to mention.
  18. I

    "Activity" Requirements?

    What if you just keep it as "remember me."
  19. I

    Purchasing an NVIDIA Telsa Super-Computer

    Someone spent $10,000 and put it to good use. 960 cores. I wonder...
  20. I

    Peta

    They call keeping pets slavery. That alone kind of gives you the impression that they've got something wrong with their heads.
Top