"be consistent" | |
PerlMonks |
running command from within perl scriptby manishrathi (Beadle) |
on Oct 11, 2010 at 19:27 UTC ( [id://864678]=perlquestion: print w/replies, xml ) | Need Help?? |
manishrathi has asked for the wisdom of the Perl Monks concerning the following question:
I want to run a command line command from within a perl script. How can I run command line command from Perl script ? I have certain workflow jobs in the system hannging in there for more than a month and are useless. These jobs need to removed from within system. I can do it manually deleting them one by one by using "iwrmjobs jobname" (This is interwoven specific command), which is time taking and laborious. Is there a way, I can script a program where I can include this command to run in a loop ? I dont know, how to run a command line command from within script. I know hoe to run commands from batch file. I want to know how to run commands from a script. Please let me know, how to run comand line commands from script with a small example, if possible. Thanks
Back to
Seekers of Perl Wisdom
|
|