Bad Minute Error in Crontab File
Michael Beattie
mtbeedee at gmail.com
Wed Nov 16 12:07:22 UTC 2005
On 11/16/05, Hakim Singhji <hzs202 at nyu.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi All,
>
> Now I am trying to use the user crontab... however I keep getting an error:
>
> Terminal
> - -------------------------------
> [hzs202@*****:/etc]> crontab -u hzs202 ~/bin/sig
> "/home/hzs202/bin/sig":2: bad minute
> errors in crontab file, can't install.
>
> - -------------------------------
>
> I am not sure what the problem is, however I cannot seem to figure out
> how to fix this.
>
> Is it referring to /etc/crontab? If so here is my /etc/crontab file
> which doesn't seem to have any flaws.
>
> Terminal
> - --------------------------------
> # /etc/crontab: system-wide crontab
> # Unlike any other crontab you don't have to run the `crontab'
> # command to install the new version when you edit this file.
> # This file also has a username field, that none of the other crontabs do.
>
> SHELL=/bin/sh
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/hzs202/bin
>
> # m h dom mon dow user command
> 10 * * * * root run-parts --report /etc/cron.hourly
> 25 6 * * * root test -x /usr/sbin/anacron || run-parts --report
> /etc/cron.daily
> 47 6 * * 7 root test -x /usr/sbin/anacron || run-parts --report
> /etc/cron.weekly
> 52 6 1 * * root test -x /usr/sbin/anacron || run-parts --report
> /etc/cron.monthly
> #
> - ---------------------------------------
>
> Please help me out...
>
> - --
> Hakim Singhji
> New York University
It's referring to this "crontab" ~/bin/sig
Can we see it?
Also, you can edit your crontab with crontab -e instead of writing one
and then installing it.
More information about the ubuntu-users
mailing list