CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] Executing script from cron.d: Edit Log



dzordzyk
Novice

Mar 13, 2010, 1:24 PM


Views: 8240
Re: [FishMonger] Executing script from cron.d


In Reply To
Why would you expect that to work?

Does that look the same to you as what I posted?


When i change it to:

Code
*/1 * * * * /root/Tanadu_scripts/tests/check_service


In log cron.log i've:

Code
Mar 13 22:24:01 xxx /usr/sbin/cron[31580]: (*system*monitoring) RELOAD (/etc/cron.d/monitoring) 
Mar 13 22:24:01 xxx cron[31580]: Error: bad command; while reading /etc/cron.d/monitoring


Edit:

Code
xxx@xxx:/root/tests$ ls -l 
total 12
-rwxr-xr-x 1 root root 956 2010-03-13 20:11 check_service
-rw-r--r-- 1 root root 303 2010-03-13 19:13 check_service.conf



(This post was edited by dzordzyk on Mar 13, 2010, 1:47 PM)


Edit Log:
Post edited by dzordzyk (Novice) on Mar 13, 2010, 1:25 PM
Post edited by dzordzyk (Novice) on Mar 13, 2010, 1:26 PM
Post edited by dzordzyk (Novice) on Mar 13, 2010, 1:47 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives