develooper Front page | perl.beginners | Postings from March 2012

Perl script not executing from cron job

Thread Next
From:
Anirban Adhikary
Date:
March 27, 2012 04:00
Subject:
Perl script not executing from cron job
Message ID:
CAHwXEp8e4miqkRVxLLc_UzSs-xx-S8SpzSs=CLNvWFf9wm6xUg@mail.gmail.com
Hi
I need to run a perl script from cron tab.

so I write a small shell script and call the perl script within that shell
script.
/usr/bin/perl /home/anirban/perl_code.pl

Before calling the perl script I copied all the contents of the .profile
file and paste it within the shell script.

But still the code is not running.

Best Regards
Anirban Adhikary.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About