LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 01: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, 03:03 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 03: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, 04:13 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 04: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, 04:46 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:07 PM
Regarding # /opt/CTEact/bin/act & /opt/SUNWexplo/bin/explorer not available for x86 rajaniyer123 Solaris / OpenSolaris 6 04-24-2008 10:09 AM
Cron scripting to automatically update smart mwade Linux - Newbie 7 08-12-2006 10:53 PM
vixie-cron update wanted Ystack Linux - Software 2 01-12-2006 10:24 PM
drweb raysr Mandriva 0 08-22-2004 12:02 AM


All times are GMT -5. The time now is 07:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration