Cron environment issues
Posted on 2014-04-29
In Ubuntu, I am having a lot of trouble running a script that uses a .pm module from crontab. When I try to do so, I get an error that reads:
Can't locate <perl_module>.pm in @INC (@INC contains:<list_of_directories_that_do_indeed_have_the_pm_file>)
I was wondering if it would be possible to get the crontab to run the script as a specific user, in their environment. The script works perfectly from he command line...