Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: cgi wrapper??

by RayRay459 (Pilgrim)
on Aug 28, 2001 at 20:26 UTC ( [id://108492]=note: print w/replies, xml ) Need Help??


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

Do the targer machines have to have AdminMisc module installed or just the machine running the script?
Thanks,
Ray

Replies are listed 'Best First'.
Re: Re: Re: cgi wrapper??
by joefission (Monk) on Aug 28, 2001 at 21:38 UTC
    Just the machine running the script needs to have AdminMisc installed. The target machines need to have the scheduler/mstask service running.
      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://108492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found