Server batch job

D

DD

I have few batch job in the server and need user to trigger this batch job

but the " command inside the batch job must be run from the server and can
not run from the user pc " when user trigger the batch.

eg inside the bacth job there is command call "proshut" and this command
only can execute from the server , can not work on user pc .

Anybody know how to do it or any solution for this ?

I can place the bacth job in the task schedule but there is no fix timing to
run.
 
P

Pegasus \(MVP\)

See your second post on the same subject.

"DD" <DD@discussions.microsoft.com> wrote in message
news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
>I have few batch job in the server and need user to trigger this batch job
>
> but the " command inside the batch job must be run from the server and can
> not run from the user pc " when user trigger the batch.
>
> eg inside the bacth job there is command call "proshut" and this command
> only can execute from the server , can not work on user pc .
>
> Anybody know how to do it or any solution for this ?
>
> I can place the bacth job in the task schedule but there is no fix timing
> to
> run.
>
>
>
>
>
 
D

DD

Hi ,

Can I have more details step. a bit confuse.

Appreciate your reply, thanks a lot

"Pegasus (MVP)" wrote:

> See your second post on the same subject.
>
> "DD" <DD@discussions.microsoft.com> wrote in message
> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
> >I have few batch job in the server and need user to trigger this batch job
> >
> > but the " command inside the batch job must be run from the server and can
> > not run from the user pc " when user trigger the batch.
> >
> > eg inside the bacth job there is command call "proshut" and this command
> > only can execute from the server , can not work on user pc .
> >
> > Anybody know how to do it or any solution for this ?
> >
> > I can place the bacth job in the task schedule but there is no fix timing
> > to
> > run.
> >
> >
> >
> >
> >

>
>
>
 
P

Pegasus \(MVP\)

Please go back to your origininal thread and read my reply
in detail, then explain which part it is that you do not
understand.


"DD" <DD@discussions.microsoft.com> wrote in message
news:841DA45B-4481-4E08-985F-E7352CF167C2@microsoft.com...
> Hi ,
>
> Can I have more details step. a bit confuse.
>
> Appreciate your reply, thanks a lot
>
> "Pegasus (MVP)" wrote:
>
>> See your second post on the same subject.
>>
>> "DD" <DD@discussions.microsoft.com> wrote in message
>> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
>> >I have few batch job in the server and need user to trigger this batch
>> >job
>> >
>> > but the " command inside the batch job must be run from the server and
>> > can
>> > not run from the user pc " when user trigger the batch.
>> >
>> > eg inside the bacth job there is command call "proshut" and this
>> > command
>> > only can execute from the server , can not work on user pc .
>> >
>> > Anybody know how to do it or any solution for this ?
>> >
>> > I can place the bacth job in the task schedule but there is no fix
>> > timing
>> > to
>> > run.
>> >
>> >
>> >
>> >
>> >

>>
>>
>>
 
D

DD

What is the d:\shares\SomeUser\Tasks\go.txt ? do I need to create the exact
folder name ?, where should I save go.txt ?



"Pegasus (MVP)" wrote:

> Please go back to your origininal thread and read my reply
> in detail, then explain which part it is that you do not
> understand.
>
>
> "DD" <DD@discussions.microsoft.com> wrote in message
> news:841DA45B-4481-4E08-985F-E7352CF167C2@microsoft.com...
> > Hi ,
> >
> > Can I have more details step. a bit confuse.
> >
> > Appreciate your reply, thanks a lot
> >
> > "Pegasus (MVP)" wrote:
> >
> >> See your second post on the same subject.
> >>
> >> "DD" <DD@discussions.microsoft.com> wrote in message
> >> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
> >> >I have few batch job in the server and need user to trigger this batch
> >> >job
> >> >
> >> > but the " command inside the batch job must be run from the server and
> >> > can
> >> > not run from the user pc " when user trigger the batch.
> >> >
> >> > eg inside the bacth job there is command call "proshut" and this
> >> > command
> >> > only can execute from the server , can not work on user pc .
> >> >
> >> > Anybody know how to do it or any solution for this ?
> >> >
> >> > I can place the bacth job in the task schedule but there is no fix
> >> > timing
> >> > to
> >> > run.
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>

>
>
>
 
D

DD

Hi ,please ignore my first reply.

I have created the first paragraph and sav the batch name as shut.bat
@echo off
if not exist d:\batch\go.txt goto :eof
del d:\batch\go.txt
"d:\progress\exc\proshut.bat"

I scheduled the task for the shut.bat to run every 5 mins
I shared out the folder d:\batch for user to access

don't understand on the go.txt
do I need to create go.txt file ? what should I put inside the go.txt file ?





Don't understand on
1) "c:\program files\Som

"Pegasus (MVP)" wrote:

> Please go back to your origininal thread and read my reply
> in detail, then explain which part it is that you do not
> understand.
>
>
> "DD" <DD@discussions.microsoft.com> wrote in message
> news:841DA45B-4481-4E08-985F-E7352CF167C2@microsoft.com...
> > Hi ,
> >
> > Can I have more details step. a bit confuse.
> >
> > Appreciate your reply, thanks a lot
> >
> > "Pegasus (MVP)" wrote:
> >
> >> See your second post on the same subject.
> >>
> >> "DD" <DD@discussions.microsoft.com> wrote in message
> >> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
> >> >I have few batch job in the server and need user to trigger this batch
> >> >job
> >> >
> >> > but the " command inside the batch job must be run from the server and
> >> > can
> >> > not run from the user pc " when user trigger the batch.
> >> >
> >> > eg inside the bacth job there is command call "proshut" and this
> >> > command
> >> > only can execute from the server , can not work on user pc .
> >> >
> >> > Anybody know how to do it or any solution for this ?
> >> >
> >> > I can place the bacth job in the task schedule but there is no fix
> >> > timing
> >> > to
> >> > run.
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>

>
>
>
 
D

DD

Please ignore my previous replied .

It works, thanks a lot.


"Pegasus (MVP)" wrote:

> Please go back to your origininal thread and read my reply
> in detail, then explain which part it is that you do not
> understand.
>
>
> "DD" <DD@discussions.microsoft.com> wrote in message
> news:841DA45B-4481-4E08-985F-E7352CF167C2@microsoft.com...
> > Hi ,
> >
> > Can I have more details step. a bit confuse.
> >
> > Appreciate your reply, thanks a lot
> >
> > "Pegasus (MVP)" wrote:
> >
> >> See your second post on the same subject.
> >>
> >> "DD" <DD@discussions.microsoft.com> wrote in message
> >> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
> >> >I have few batch job in the server and need user to trigger this batch
> >> >job
> >> >
> >> > but the " command inside the batch job must be run from the server and
> >> > can
> >> > not run from the user pc " when user trigger the batch.
> >> >
> >> > eg inside the bacth job there is command call "proshut" and this
> >> > command
> >> > only can execute from the server , can not work on user pc .
> >> >
> >> > Anybody know how to do it or any solution for this ?
> >> >
> >> > I can place the bacth job in the task schedule but there is no fix
> >> > timing
> >> > to
> >> > run.
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>

>
>
>
 
P

Pegasus \(MVP\)

Glad you got it resolved.

In future please refrain from starting several threads on the one
subject. You started three and they got completely disjointed.
Doing so makes it almost impossible for other people to work
out what your problem was and how it was resolved.


"DD" <DD@discussions.microsoft.com> wrote in message
news:0B503661-3544-47C1-A692-CA2E878F7DDD@microsoft.com...
> Please ignore my previous replied .
>
> It works, thanks a lot.
>
>
> "Pegasus (MVP)" wrote:
>
>> Please go back to your origininal thread and read my reply
>> in detail, then explain which part it is that you do not
>> understand.
>>
>>
>> "DD" <DD@discussions.microsoft.com> wrote in message
>> news:841DA45B-4481-4E08-985F-E7352CF167C2@microsoft.com...
>> > Hi ,
>> >
>> > Can I have more details step. a bit confuse.
>> >
>> > Appreciate your reply, thanks a lot
>> >
>> > "Pegasus (MVP)" wrote:
>> >
>> >> See your second post on the same subject.
>> >>
>> >> "DD" <DD@discussions.microsoft.com> wrote in message
>> >> news:8185D23E-396F-4FC6-AFB1-E6F0267F0779@microsoft.com...
>> >> >I have few batch job in the server and need user to trigger this
>> >> >batch
>> >> >job
>> >> >
>> >> > but the " command inside the batch job must be run from the server
>> >> > and
>> >> > can
>> >> > not run from the user pc " when user trigger the batch.
>> >> >
>> >> > eg inside the bacth job there is command call "proshut" and this
>> >> > command
>> >> > only can execute from the server , can not work on user pc .
>> >> >
>> >> > Anybody know how to do it or any solution for this ?
>> >> >
>> >> > I can place the bacth job in the task schedule but there is no fix
>> >> > timing
>> >> > to
>> >> > run.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>

>>
>>
>>
 
Back
Top Bottom