Had to go away for a few days. Okay, so here is what I have done. In my cron.txt file I now have the line 21 08 * * * /usr/bin/perl -w /Users/myname/Documents/path/to/CronTest.pl. I copied that "sixth variable" part (the part starting with /usr and all the way through /CronTest.pl) to the command line in my Terminal window and the script executed fine, so I know that command part of the cron listing is correct. (BTW, what is that "sixth variable" called? In my mind I'm calling it the command, but am not sure if this is correct.)
It was 8:19 a.m. when I saved the cron.txt file and still 8:19 when I entered crontab cron.txt. I checked crontab by entering crontab -l and it appeared to be correct. When 8:21 rolled around, however, nothing happened.
If you think this is a security issue, could you be a bit more specific about what I might have to do (My exposure to UNIX is limited and occurred about 15 years ago.)
If not a security issue, what might I be doing wrong?
Thanks for your help!
In reply to Re^4: Running a perl script automatically on Mac OS X 10.5
by Ninth Prince
in thread Running a perl script automatically on Mac OS X 10.5
by Ninth Prince
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |