2
votes
2answers
148 views

Runing perl Script using root cron told me “access denied”

This comes from here Now it runs, but when i run it using the root crontab, it told me: *tail: /var/log/backupeitor.log: file truncated /bin/sh: /home/backup/scripts/backupeitor.pl: Permission ...
1
vote
1answer
94 views

Using environment variables to keep track of processes launched by cron

My question: I have an if statement in perl where I attempt to detect via environment variables at the time of launching the perl script whether it was launched via a cron job or via normal execution ...
0
votes
2answers
307 views

su on perl script doesn't work from crontab

I have a perl script running o.k. on unix machines and manually from root user but not from crontab on linux machine: the problematic command is: su - $user system("su - togui103 -c ...
1
vote
2answers
1k views

How to call perl from crontab?

I can run this command fine from the SSH console of my rackservers shared hosting: cd /home/myaccount/public_html/whatever; perl -w -I/home/myaccount/public_html/whatever rss2txt.pl ...
0
votes
2answers
167 views

Scheduling Perl Script in Cron.d

I am trying to schedule a perl script to run daily, but I am not sure if I am doing everything right. The script I want to run is to update AWStats each day, without manually having to press update. ...
2
votes
8answers
725 views

How to run a cron job?

I have a sample perl script which i need to run using cron daily ,could any one let me know the exact syntax to use cron job. Thanks in advance.