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

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -