Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

(jcwren) RE: How long 'tween now and then?

by jcwren (Prior)
on Sep 13, 2000 at 23:53 UTC ( #32347=note: print w/ replies, xml ) Need Help??


in reply to How long 'tween now and then?

I was just looking through the MSDN library, and there's an entire chapter on the Task Scheduler. It looks plenty feasible to use Win32::API to write an interface to it (Heh. Or here's your chance to use Inline).

It looks like you can also setup to run tasks on remote system, assuming you have sufficient priviledge levels (SetTargetComputer), priorities (ITask::SetPriority), etc.

The advantage of using the scheduler is that a user does not have to be logged in for the task to run, merely the computer at a login screen. While I advocate both Windows and Linux alike, one area that Linux is *clearly* superior in is the cron facility. I wish Windows had a scheduler like cron...

Some keywords for MSDN are ITask, ITaskScheduler, and IScheduledWorkItem.

--Chris

e-mail jcwren
  • Comment on (jcwren) RE: How long 'tween now and then?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://32347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-06-30 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.