LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2009, 12:59 AM   #1
romio
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
Drweb: Cron <drweb@server> /opt/drweb/update.pl


Can someone explain what the message below means?


Code:
Received: (qmail 28523 invoked by uid 111); 14 Apr 2009 05:21:26 +0200
Date: 14 Apr 2009 05:21:26 +0200
Message-ID: <20090414032126.28521.qmail@ip-server.ip.secureserver.net>
From: root@ip-server.ip.secureserver.net (Cron Daemon)
To: drweb@ip-server.ip.secureserver.net
Subject: Cron <drweb@server> /opt/drweb/update.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/drweb>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=drweb>
X-Cron-Env: <USER=drweb>
I have read that update.pl might not have the right ownership and permission. This is the current permission:

rwxr-xr-x 1 drweb drweb 40834 Aug 31 2006 update.pl


Any Suggestions?
 
Old 04-14-2009, 02:03 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
It is the report of a perl script /opt/drweb/update.pl launched by crontab as user drweb to update an antivirus/antispam software. Does the mail contain some message in the body?
 
Old 04-14-2009, 02:57 AM   #3
romio
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
It is the report of a perl script /opt/drweb/update.pl launched by crontab as user drweb to update an antivirus/antispam software. Does the mail contain some message in the body?
no. it only contains what i have posted above.
 
Old 04-14-2009, 03:13 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Usually a cron job sends a mail to the crontab owner when some standard output or standard error is not redirected to a file. Maybe in this case the script just prints out an empty line to trigger the e-mail mechanism as a notification of the update process. You should look at the perl code to find out.
 
Old 04-14-2009, 03:33 AM   #5
romio
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
Usually a cron job sends a mail to the crontab owner when some standard output or standard error is not redirected to a file. Maybe in this case the script just prints out an empty line to trigger the e-mail mechanism as a notification of the update process. You should look at the perl code to find out.
Thanks colucix, however; i am not really familiar with that!! would you be able to help/guide?
 
Old 04-14-2009, 03:46 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can simply look for print statements:
Code:
grep -i print /opt/drweb/update.pl
Anyway, I don't see any problem in the mail you receive. If you want to disable the automatic updates, check for the proper settings in the software graphical interface or eventually locate the crontab and remove the entry which runs the /opt/drweb/update.pl script.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Issue on RHEL AS r4 Update 2 jonnynoh Linux - General 7 05-30-2009 11:07 AM
Regarding # /opt/CTEact/bin/act & /opt/SUNWexplo/bin/explorer not available for x86 rajaniyer123 Solaris / OpenSolaris 6 04-24-2008 09:09 AM
Cron scripting to automatically update smart mwade Linux - Newbie 7 08-12-2006 09:53 PM
vixie-cron update wanted Ystack Linux - Software 2 01-12-2006 09:24 PM
drweb raysr Mandriva 0 08-21-2004 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration