@reboot /path/to/perl /path/to/bbtester start > /tmp/cron_bbtester.log 2>&1 #### package Module; use warnings; use strict; use Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(flail_around); sub flail_around { print "Flailing like a dying chicken!\n"; } #### use warnings; use strict; use FindBin qw($RealBin); use lib $RealBin; use Module qw(flail_around); flail_around(); #### spek@scelia ~/scratch/demo $ perl script.pl Flailing like a dying chicken! #### spek@scelia ~ $ perl scratch/demo/script.pl Flailing like a dying chicken!