6
1
For a crontab entry in this format,
*/1 * * * * /usr/bin/php /app/<userid>/command --flag='value'
I see this message emailed to <userid>@host
(and view via mail
) at one per minute:
From root@host Wed May 2 16:36:02 2012
Return-Path: <root@host>
Date: Wed, 2 May 2012 16:36:01 -0400
X-Authentication-Warning: host: <userid> set sender to root using -f
From: root@host (Cron Daemon)
To: <userid>@host
Subject: Cron <<userid>@host> /usr/bin/php /app/<userid>/command --flag='value'
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/home/<userid>/bin>
X-Cron-Env: <HOME=/home/<userid>>
X-Cron-Env: <LOGNAME=<userid>>
X-Cron-Env: <USER=<userid>>
Status: R
I'm unsure what this error is, particularly the 4th line and if it something to be worried about. This only happens on one of our test servers, and the production servers are fine. I don't have root access on these servers.
Any ideas?
Thanks for weighing in Antony, it is delivered, as I can view/read it using
mail
. Turns out, there was a typo in one of the scripts that is called by the crontab script, and fixing the former has resolved this issue. – KM. – 2013-03-04T14:40:06.017Glad you got it sorted :D – Antony – 2013-03-04T14:49:00.413