[Sunhelp] crontab

He Gang-W1268C Gang_He-W1268C at email.mot.com
Fri Jul 23 09:04:48 CDT 1999


Thanks Stu. 
The empty line caused the problem. 
But I also noticed that the cron is still working even I got that error.

Gang 
-----Original Message-----
From: Stu Slimp [mailto:stuslimp at technow.com]
Sent: Friday, July 23, 1999 9:55 AM
To: sunhelp at ohno.mrbill.net
Subject: Re: [Sunhelp] crontab


Double or single quotes don't make any difference; 0 or 00
doesn't make any difference.  Did you test your suggestion?

I recalled a similar error caused by having a null or empty
line in the crontab file.  Before popping off, however, I
tested my vague recollection by putting an empty line in
my crontab, and got the same error.

I suggest then, that you see if you have any empty lines
in the file and remove them.  Perhaps that is the cause of
the error message you're getting

Stu Slimp

Wes Hofmann wrote:

> Try replacing the double-quotes (") with single-quotes ('). :)   That
> should fix it!
>
> Wes
>
> On Thu, 22 Jul 1999, He Gang-W1268C wrote:
>
> > Hi there,
> >
> > Thanks for the messages about the Solaris VS SUN OS.....
> >
> > Now I have another question:
> >
> > I am testing the capability of crontab. Here is what I'v done:
> >
> > crontab -e
> > 0 17 * * * /usr/bin/echo "Tome to go home!" > /dev/console
> >
> > I immediately got mail telling me that my crontab file has an error in
it.
> > unexpected end of line, This entry has been ignored.
> >
> > Am I missing something?
> >
> > I appreciate your help.
> >
> > Thanks.
> >
> >
> >
> > Gang He
> > (732)743-8878
> > w1268c at email.mot.com
> >
> >
> >
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp




_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp






More information about the SunHELP mailing list