I am writing a script that checks to see if an Oracle db is available. The script reads an ini file to determine if there is a blackout period for certain db's... ie: we don't care if it's up or down 1700 - 700 the next morning.
I can't get my head around the logic to check for the conditions when the blackout end is less then the current hour and greater then the current hour and so on...
If Anyone has any suggestions or a cool blackout processing script that I could look at I would greatly appreciate it.
If you need to make a lot of decisions like that, it can be easier to convert the time to absolute minutes: hours times 60 plus minutes. This lets you make direct greater than, less than tests.
What is everyones opinions on these video editors?
PiTiVi
Avidemux
Cinelerra
Kdenlive
Kino
Linux Video Editing: Top Five Linux Video Editors (0 Replies)
I'm currently developing a script to clean out certain directories based on age and name. Part of the assignment is to ensure that the cleaning of a directory is done under the user id of the owner (script is running as root). I have a few ideas on how to do this, but I'd like to hear your... (3 Replies)
I am interested in hearing anyones opinions on what OS they would choose to run a MySQl db and the reasons why, of course. I have a task to build a db server for a project that will be very busy if things work as the creative minds think that it will. I am running a FreeBSD box right now on... (0 Replies)
We are trying to tune a server which phsycially is maxed out on cpu.
We are maxing out on memory and swapping at a rate of 20-43% of our swap space which is approx 45% of total ram.
We "can" upgrade to twice the memory that we currently have but it will be costly as there are no more seats... (5 Replies)
not too long ago, i wrote a very short script that will bring up 4 customized xterms. The script went completely abnormal simply because of an error I had made in a while loop. This script took control of the system and rendered everything useless. The system admin team which i was part of... (4 Replies)