Open-Report-Parser
Open-Report-Parser copied to clipboard
[Question]: How to set up cron?
So, I have the basic functions working by reading the report files from a directory. Now I want to automate reading the files and insert the data into the database. I have so far been executing ./report-parser.pl directly from the directory it is installed into.
When setting up cron, I assumed I would be able to use the fully qualified path to report-parser.pl. But when I execute it, it complains that it cannot find OAuth.pm. I note that OAuth.pm is actually located in the /lib subdirectory.
Do I need to installed OAuth via cpan or something so that it's findable from anywhere on the sytem?