Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: cgi wrapper??

by joefission (Monk)
on Aug 28, 2001 at 21:38 UTC ( #108520=note: print w/replies, xml ) Need Help??


in reply to Re: Re: cgi wrapper??
in thread cgi wrapper??

Just the machine running the script needs to have AdminMisc installed. The target machines need to have the scheduler/mstask service running.

Replies are listed 'Best First'.
Re: Re: Re: Re: cgi wrapper??
by $code or die (Deacon) on Aug 28, 2001 at 22:07 UTC
    A couple of other things worth thinking about with Scheduler is permissions:

    1. It could get tricky if the target machines are on different domains\workgroups.
    2. Remember that by default Scheduler service runs under the Local Sytem account.
    If the target machines are on different domains\workgroups you may not be able to use ScheduleAdd() remotely. You could try Win32::AdminMisc::LogonAsUser() but I am not sure how that works. In a worst case scenario, you may need to run the script once under the admin account for each domain\workgroup.

    Although these points probably aren't relevant to this question, I recommend setting up a seperate account for the scheduler service and only give it the permissions that your scheduled tasks need rather than all those that LocalSystem has by default.

    Error: Keyboard not attached. Press F1 to continue.

    Update: Sorry joe, this was meant as a reply to Ray.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-05-31 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (177 votes). Check out past polls.

    Notices?