I have had very minimal experience in writing jobs. A long time ago, I had written a very small simple java job for reading and writing files using tasklet in java. Now I have to learn how to write jobs in Perl. Normally, in such cases, I google out the information, but I am not getting any information on how to write jobs in perl in internet searches. Can anyone please let me know of any internet resources or books, which I can download from the internet for learning perl jobs.I have a little knowledge in Perl.
How to write a job in Perl?
perl
Write the script, using the proper syntax:#!/usr/bin/perl<your code>Put the file somewhere.Make the script executable (chmod a+x yourscript.pl).Then run the script using cron (with crontab, or writing a file in /etc/cron.d, /etc/cron.daily, /etc/cron.hourly, etc, depending on your needs).Depending on your choice of cron, the call to the script varies.