IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Scheduling tasks a big pain!!
Scheduling sucks. It's such a pain point. I'm up at night wondering, did my script run? I hate scheduling to the core, Do you guys hate it ?
New Nah.
My scripts let me know if they don't run, and why, and scheduling means I don't have to be there...

*chuckle*

Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.


Nothing is as simple as it seems in the beginning,
As hopeless as it seems in the middle,
Or as finished as it seems in the end.
 
 
New Dead-man's switch
Every scheduled task should, as it completes, records its status somewhere. A separate process should -- however frequently you need -- check to see that everything that should have run actually did run. Anything failed, raise an alarm.

As that process completes, it records its own status in a different location. A final process, on a different system, looks for that status. If it's not there, raise the alarm.

Increase layers of redundancy until your sense of paranoia is satisfied.





Oh, and never ever ever have a scheduled process that isn't tracked and checked by your watcher process.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Not to be cynical, but...
... if this is a prelude to spamming some advertisement for scheduling software, please don't bother.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Oh come on
And you say I'm too quick to call "troll".














FWIW that's what I expected to see in the message. I was surprised it wasn't (obviously) spam.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
Expand Edited by drewk July 20, 2006, 03:54:22 PM EDT
New somehow I don't think so
the username is too clever for a drive by spammer
Darrell Spice, Jr.            Trendy yet complex\nPeople seek me out - though they're not sure why\n[link|http://spiceware.org/gallery/ArtisticOverpass|Artistic Overpass]                      [link|http://www.spiceware.org/|SpiceWare]
New Yup. My thought too.

Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.


Nothing is as simple as it seems in the beginning,
As hopeless as it seems in the middle,
Or as finished as it seems in the end.
 
 
New Re: Scheduling tasks a big pain!!
Ahem.. now that you guys are certain that I am not a "scheduled" script ;)..

Right now, I use Windows Task Scheduler to schedule tasks on different machines on my network. I don't have any centralised system for scheduling: so it becomes a big pain to do it for each and every computer.

New Ah, so what you're looking for ... ?
Sounds like you want one place you can say, "Run this maintenance / backup script on every server at this time each day." Is that about it?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New There is the catch....
...that once you allow scripts to be initiated from an external source, you open yourself up to someone tapping into that nice feature with a malicious script of their own. So security becomes a big concern.
New Your gonna need to buy something
and my place uses something from Network Associates to do what you are looking for.

[link|http://www.mcafee.com/us/smb/products/management_solutions/epolicy_orchestrator.html|http://www.mcafee.co...orchestrator.html]

This in no way represents an official endorsement on my part nor should this be construed as anything other than a "I know this is in use somewhere and handles what it looks like you may need" type of statement.
Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New Perhaps I don't understand?
Doesn't "at" allow you to specify another computer? Can't you centralise everything on one PC for scheduling tasks to be run on other PCs?

Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.


Nothing is as simple as it seems in the beginning,
As hopeless as it seems in the middle,
Or as finished as it seems in the end.
 
 
New You're forgetting
for lots of Windows users, if it's not in the GUI it doesn't exist.

From command line:
C:\\Documents and Settings\\sfddspic>help at\nThe AT command schedules commands and programs to run on a computer at\na specified time and date. The Schedule service must be running to use\nthe AT command.\n\nAT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]\nAT [\\computername] time [/INTERACTIVE]\n    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"\n\n\\computername     Specifies a remote computer. Commands are scheduled on the\n                   local computer if this parameter is omitted.\nid                 Is an identification number assigned to a scheduled\n                   command.\n/delete            Cancels a scheduled command. If id is omitted, all the\n                   scheduled commands on the computer are canceled.\n/yes               Used with cancel all jobs command when no further\n                   confirmation is desired.\ntime               Specifies the time when command is to run.\n/interactive       Allows the job to interact with the desktop of the user\n                   who is logged on at the time the job runs.\n/every:date[,...]  Runs the command on each specified day(s) of the week or\n                   month. If date is omitted, the current day of the month\n                   is assumed.\n/next:date[,...]   Runs the specified command on the next occurrence of the\n                   day (for example, next Thursday).  If date is omitted, the\n                   current day of the month is assumed.\n"command"          Is the Windows NT command, or batch program to be run.
Darrell Spice, Jr.            Trendy yet complex\nPeople seek me out - though they're not sure why\n[link|http://spiceware.org/gallery/ArtisticOverpass|Artistic Overpass]                      [link|http://www.spiceware.org/|SpiceWare]
     Scheduling tasks a big pain!! - (umehim) - (12)
         Nah. - (imric)
         Dead-man's switch - (drewk)
         Not to be cynical, but... - (admin) - (3)
             Oh come on - (drewk)
             somehow I don't think so - (SpiceWare) - (1)
                 Yup. My thought too. -NT - (imric)
         Re: Scheduling tasks a big pain!! - (umehim) - (5)
             Ah, so what you're looking for ... ? - (drewk) - (1)
                 There is the catch.... - (ChrisR)
             Your gonna need to buy something - (bepatient)
             Perhaps I don't understand? - (imric) - (1)
                 You're forgetting - (SpiceWare)

The Pseudo Markov Chain O' Puerile Musings.
61 ms