Post #262,293
7/20/06 1:20:45 PM
|
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 ?
|
Post #262,297
7/20/06 1:43:26 PM
|
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. |
|
Post #262,300
7/20/06 2:48:15 PM
|
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]
|
Post #262,302
7/20/06 3:03:17 PM
|
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..."
|
Post #262,310
7/20/06 3:51:08 PM
7/20/06 3:54:22 PM
|
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]
Edited by drewk
July 20, 2006, 03:54:22 PM EDT
|
Post #262,317
7/20/06 4:31:06 PM
|
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]
|
Post #262,345
7/20/06 9:12:11 PM
|
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. |
|
Post #262,379
7/21/06 12:23:40 PM
|
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.
|
Post #262,380
7/21/06 12:34:54 PM
|
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]
|
Post #262,386
7/21/06 1:36:15 PM
|
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.
|
Post #262,383
7/21/06 1:09:47 PM
|
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
|
Post #262,387
7/21/06 2:27:48 PM
|
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. |
|
Post #262,398
7/21/06 3:23:02 PM
|
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]
|