Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scheduling-problem with the at-command

Status
Not open for further replies.

zifko

Technical User
Oct 9, 2002
10
0
0
Hi!

I wrote a testscript print "hello world!" and this script
would i start at 10:00 am with the "at"-command(WINNT).

at 10:00 cmd /c "c:\test.pl > c:\testoutput.txt"

But there is no text in the testoutput.txt.

Can anyone help me?
 
at 10:00 "perl c:\test.pl > C:\testoutput.txt" or something along those lines should sort you out

HTH
--Paul
 
I tried the AT-command on the console.

C:\>at
Status-ID Tag Zeit Befehlszeile
------------------------------------------------------------Fehler 1 Morgen 12:36 PM "perl c:\test.pl > C:\testoutput.txt"

There occurs an error (Status-ID "Fehler"), but i found no
details about the error.
 
try the full path to perl.exe
eg
D:\Perl\bin\perl.exe "c:\test.pl > C:\testoutput.txt"

--Paul
 
I tried the line D:\Perl\bin\perl.exe "c:\test.pl > C:\testoutput.txt"
There is no error in the Status-ID column, but there is also no testoutput.txt-File.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top