#!usr/bin/perl
Note you're missing a slash before usr. Also, my general advice for running anything from cron is always use absolute paths for everything in the crontab, i.e. "/usr/bin/perl /path/to/script.pl".
I am not getting emails with any errors from CRON.
You may be interested in the notes I use to set up my RPis which I've published here, including how to set up postfix. These notes do require some knowledge of *NIX. (I just noticed that the Markdown doesn't seem to be rendering quite right, but if you look at the plaintext/raw version it should be more legible.)
I am using the default pi account which I believe is the RPi equivalent to root.
pi is just a regular user, but on a normal Raspbian setup it has the ability to sudo without a password.
I set up a way to SSH onto the RPi before it gets installed in its new home
This is possible with configuring port forwarding on the router, but make sure to set up something like fail2ban as I describe in the link above.
In reply to Re^2: Continuous or timed?
by haukex
in thread Continuous or timed?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |