Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 1999 17:00:31 -0700 (PDT)
From:      icbmx2@yahoo.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   conf/11933: crontab bug in 3.2-R ???
Message-ID:  <19990530000031.2A87214DED@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11933
>Category:       conf
>Synopsis:       crontab bug in 3.2-R ???
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 17:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Icbm Root
>Release:        3.2-RELEASE
>Organization:
>Environment:
FreeBSD proton 3.2-RELEASE FreeBSD 3.2-RELEASE #3: Fri May 28 18:15:
21 EDT 1999     root@proton:/usr/src/sys/compile/PROTONKERNEL  i386
>Description:
In /etc/crontab, there is a user field.

When crontab is fed to cron, i.e., crontab -u root /etc/crontab, 
the user field is copied to the tab file, i.e., to /var/cron/tabs/root.
When cron executes, it thinks the user field is part of the command.

Docs refer to user field but some samples in man don't.

I'm not sure if I did something wrong in editing that file???
>How-To-Repeat:

>Fix:
Delete the user fields from /etc/crontab before exporting to cron.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990530000031.2A87214DED>