monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Hi experts,
I was trying to run this simple script (cron.pl) with CRON
Update:
Regards,
Edward
I was trying to run this simple script (cron.pl) with CRON
but it fail to be executed with my cron entries that look like this:#!/usr/local/bin/perl -w use strict; system("echo test > testcron.txt"); #system("nohup perl later_other_code.pl&");
Meaning that 'testcron.txt' wasn't created at all at this directory: /home/monkfan/MyPerl/. Why is that?MAILTO=monkfan@gmail.com * * * * * /usr/local/bin/perl /home/monkfan/MyPerl/cron.pl
Update:
- Also, I have no root access in this Linux box.
- Five (*) indicates cron to run the command at every minute of every hour of every day of every month.
Regards,
Edward
Back to
Seekers of Perl Wisdom