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
In reply to Perl Script Not Working With Crontab by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |