linux - Where does, Carp library in Perl, print logs when run from crontab -


i have perl script uses carp (carp croak) print info , errors. when run directly can see output on console. when running script cronjob dont know messages going.

already checked in /var/log/messages /var/log/cron . not found

please help.

man cron:

when executing commands, output mailed owner of crontab (or user named in mailto environment variable in crontab, if such exists). job output can sent syslog using -s option.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -