title: Cron job doesn't run (Perl & Centos)
body: <p>In my /etc/crontab file I write:</p>
  
  <pre><code>* * * * * PLACK_ENV=development -I /home/adrian/app/lib/ /home/adrian/app/script/db/log_to_db.pl 
  </code></pre>
  
  <p>To make a cron job run every minute. The job is running the log_to_db.pl perl script, which inserts data to my database. </p>
  
  <p>When I run in my terminal
  PLACK_ENV=development -I /home/adrian/app/lib/ /home/adrian/app/script/db/log_to_db.pl 
  It's OK! The script runs.</p>
  
  <p>But the cron job isn't working!
  What can be wrong?</p>
  
  <p>PD: My script starts like</p>
  
  <pre><code>    #!/usr/bin perl 
      ....
  </code></pre>
  
  <p>My cron log prints:</p>
  
  <pre><code>Jul  8 20:29:01 dev0001 crond[1829]: (*system*) RELOAD (/etc/crontab)
  Jul  8 20:29:01 dev0001 crond[1829]: (CRON) bad username (/etc/crontab)
  Jul  8 20:30:01 dev0001 crond[1829]: (*system*) RELOAD (/etc/crontab)
  Jul  8 20:30:01 dev0001 crond[1829]: (CRON) bad username (/etc/crontab)
  Jul  8 20:30:01 dev0001 CROND[13504]: (root) CMD (/usr/lib64/sa/sa1 -S DISK 1 1)
  </code></pre>