Run Scheduled task from another machine

M

mark.gould

Hi,
Scenario

We have scheduled job that searches a database for new information and
send an email to all those who have new files.

The scheduled job sits on a Windows 2000 server,.
We want the data inputter to be able to kick the job off without
security issues of allowing them remote connection to our server.

There on XP.
I have tried to copy the scheduled Job to there XP machine and have
tried creating a scheduled task on there machine with the full server
information in the start from box. (Ie \\server\program
files\msaccess.exe...)

Has anyone tried something similar with better sucess
 
P

Pegasus \(MVP\)

Hi,
Scenario

We have scheduled job that searches a database for new information and
send an email to all those who have new files.

The scheduled job sits on a Windows 2000 server,.
We want the data inputter to be able to kick the job off without
security issues of allowing them remote connection to our server.

There on XP.
I have tried to copy the scheduled Job to there XP machine and have
tried creating a scheduled task on there machine with the full server
information in the start from box. (Ie \\server\program
files\msaccess.exe...)

Has anyone tried something similar with better sucess

You can't copy scheduled jobs in this way. Use schtasks.exe
to schedule jobs remotely. Not that this will NOT get you
around security restrictions.

If you want the scheduled job to be run when some event
happens on some other machine then you can do it like so:
1. Schedule a job to run on your server once every five minutes.
2. Get this job to monitor the existence or otherwise of a
semaphore file on the WinXP PC. If the semaphore file
exists, continue with the job and delete the semaphore
file. If it does not exist, exit immediately.
3. Get the WinXP machine to create the semaphore file when
it is ready with its data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top