Automating Perl Script
Posted on 2011-10-04
I want to automate a Perl script to run daily. Right now I am executing it from the command line as
uniserver:/usr/qa/Scripts/files> ./test.pl filename
where test.pl is the script and the filename is the file it has to process.(like input file)
but when automating how can I call the script with the filename.
I tried it wrap it up in another script as:
do '/usr/qa/Scripts/files> ./test.pl filename'
and call the above script in Cron but it is not working.