Page 1 of 1 1
Topic Options
#59613 - 2001-10-05 02:02 PM Running a kix script with the at command
Anonymous
Unregistered


I have created a script that I would like to run on a server, whether or not anyone is logged in.

So I scheduled it using the at command as follows:

at 11:49 "C:\Documents and Settings\mcintyrj\Desktop\kix2001\kix32.exe enumemail
s.kix"
however it fails to run and leaves a status code of error.

I have other tasks scheduled that run fine

any ideas anyone?

Top
#59614 - 2001-10-05 02:12 PM Re: Running a kix script with the at command
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
you have to use the path to enumemails.kix

gr P

Top
#59615 - 2001-10-05 02:16 PM Re: Running a kix script with the at command
Anonymous
Unregistered


no joy - I still get an error

cmd line now reads

at 12:14 "C:\Documents and Settings\mcintyrj\Desktop\kix2001\kix32 c:\documents and settings\mcintyrj\Desktop\kix2001\enumemails.kix"

Top
#59616 - 2001-10-05 02:22 PM Re: Running a kix script with the at command
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Don't try this ... It'll fail .

Just call a batch file instead that starts the Kixscript !

hth

Jochen

_________________________



Top
#59617 - 2001-10-05 02:33 PM Re: Running a kix script with the at command
Anonymous
Unregistered


Works a treat - cheers,

John Mac

Top
#59618 - 2001-10-05 11:35 PM Re: Running a kix script with the at command
Anonymous
Unregistered


It should also work if you preface it with CMD /C... I run a kix script to run RDISK on all my servers nightly...

My AT command line reads as follows:
CMD /C \\PDC\NETLOGON\RDISK\kix32.exe \\PDC\NETLOGON\RDISK\Repair.kix

Works like a champ..

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org