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!

"at" with perl skript

Status
Not open for further replies.

myggel

Programmer
Dec 11, 2005
15
DE
hi,

i'd like to start a perl skript by another perl skript with the linux command "at".
can anyone tell me how this works?
something like(this one doesn't work):
system("perl /home/user_1/myskript.pl | at 1am");

thnks for any help
michael
 
maybe something like:
Code:
open PIPE, "| at 1am" or die "Failed to run 'at'";
print PIPE "perl /home/user_1/myskrpit.pl\n";
close PIPE;


Trojan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top