Fedora iTOps Tube

Friday, June 29, 2012

Cron not displaying jobs

Hi everyone! I'm running fedora 15, cron is running and I'm trying to execute a simple date command in a crontab that should run every minute but unfortunately it doesn't.

This is the output from /var/log/cron:

Jun 27 22:33:01 sonda /USR/SBIN/CROND[2834]: (sonda) CMD (date)



checking the user email i got this:

From sonda@sonda.localdomain Wed Jun 27 22:33:02 2012

Return-Path: <sonda@sonda.localdomain>

Received: from sonda.localdomain (localhost.localdomain [127.0.0.1])

by sonda.localdomain (8.14.5/8.14.5) with ESMTP id q5RLX2Mi002837

for <sonda@sonda.localdomain>; Wed, 27 Jun 2012 22:33:02 +0100

Received: (from sonda@localhost)

by sonda.localdomain (8.14.5/8.14.5/Submit) id q5RLX2Cc002835;

Wed, 27 Jun 2012 22:33:02 +0100

Date: Wed, 27 Jun 2012 22:33:02 +0100

Message-Id: <201206272133.q5RLX2Cc002835@sonda.localdomain>

From: sonda@sonda.localdomain (Cron Daemon)

To: sonda@sonda.localdomain

Subject: Cron <sonda@sonda> date

Content-Type: text/plain; charset=UTF-8

Auto-Submitted: auto-generated

X-Cron-Env: <SHELL=/bin/sh>

X-Cron-Env: <HOME=/home/sonda>

X-Cron-Env: <PATH=/usr/bin:/bin>

X-Cron-Env: <LOGNAME=sonda>

X-Cron-Env: <USER=sonda>



Wed Jun 27 22:33:01 BST 2012





Now the question is: why cron displays the date in a mail and not using a terminal???




No comments:

Post a Comment