Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Misc > Re: cron on 10....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 53 of 68 Topic 6031 of 6424
Post > Topic >>

Re: cron on 10.5.2 server

by Jolly Roger <jollyroger@[EMAIL PROTECTED] > May 3, 2008 at 02:20 AM

In article <682fbqF2qd9ofU1@[EMAIL PROTECTED]
>,
 Chris Ridd <chrisridd@[EMAIL PROTECTED]
> wrote:

> On 2008-05-03 06:57:18 +0100, Jolly Roger <jollyroger@[EMAIL PROTECTED]
> said:
> 
> > In article <682cq3F2qi61hU1@[EMAIL PROTECTED]
>,
> >  Chris Ridd <chrisridd@[EMAIL PROTECTED]
> wrote:
> > 
> >> I wonder if the bug in crontab alluded to at the end is still
present?
> > 
> > My take is that's not a bug, but is just the way it is, because of the
> > way crontab parses the EDITOR environment variable.
> 
> OK, well the "feature" is certainly still in the 10.5.2 code:
> 
>
<http://www.opensource.apple.com/darwinsource/10.5.2/cron-30/crontab/crontab.c
> >

Are you referring to line 435?:

          execlp(editor, editor, Filename, (char *)NULL);

It does seem strange that they are passing editor (which contains the 
contents of the EDITOR environment variable), in its entirety for the 
first *and* second parameter. The first parameter is supposed to the 
pathname to the executable (edit), and the second parameter is supposed 
to be a list of arguments or switches to pass to the executable (-w). It 
seems they are instead passing "edit -w" and "edit -w" for both 
parameters, which is what causes the error:

# crontab -e
crontab: edit -w: No such file or directory
crontab: "edit -w" exited with status 1

-- 
Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR
 




 68 Posts in Topic:
cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-21 11:49:24 
Re: cron on 10.5.2 server
=?utf-8?B?QW5kcsOp?= Berg  2008-04-21 21:45:35 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-22 00:13:07 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-22 00:02:18 
Re: cron on 10.5.2 server
=?utf-8?B?QW5kcsOp?= Berg  2008-04-22 07:04:07 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-22 13:33:52 
Re: cron on 10.5.2 server
=?utf-8?B?QW5kcsOp?= Berg  2008-04-23 06:45:51 
Re: cron on 10.5.2 server
Dave Seaman <dseaman@[  2008-04-23 12:09:23 
Re: cron on 10.5.2 server
=?utf-8?B?QW5kcsOp?= Berg  2008-04-23 17:31:12 
Re: cron on 10.5.2 server
Lewis <g.kreme@[EMAIL   2008-05-02 08:09:13 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-22 13:32:05 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-22 23:55:44 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-23 11:28:04 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-04-23 08:45:13 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-23 14:46:54 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-04-23 16:12:10 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-24 12:42:20 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-04-24 10:05:31 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-24 15:24:54 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-04-24 10:36:11 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-04-24 16:50:04 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-04-24 11:40:35 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-04-24 18:04:11 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-04-24 16:06:41 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-04-25 07:04:50 
Re: cron on 10.5.2 server
Lewis <g.kreme@[EMAIL   2008-05-02 08:19:31 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 09:02:57 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-02 14:24:50 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 14:09:45 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 15:51:31 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-02 17:53:42 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 18:52:23 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-02 21:02:55 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 19:02:02 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-02 21:01:56 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-02 20:13:10 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-03 07:36:47 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 14:40:13 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-03 08:01:06 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 16:58:16 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-03 12:29:01 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 14:40:19 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-03 13:55:33 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 14:59:36 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-04 07:15:10 
Re: cron on 10.5.2 server
Howard Brazee <howard@  2008-05-05 08:06:51 
Re: cron on 10.5.2 server
Lewis <g.kreme@[EMAIL   2008-05-07 16:33:46 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 06:34:35 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 00:48:49 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 06:50:59 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 00:57:18 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 07:34:34 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 02:20:35 
Re: cron on 10.5.2 server
Chris Ridd <chrisridd@  2008-05-03 08:47:19 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-03 02:52:11 
Re: cron on 10.5.2 server
Lewis <g.kreme@[EMAIL   2008-05-07 16:30:21 
Re: cron on 10.5.2 server
Jolly Roger <jollyroge  2008-05-02 14:04:19 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-25 00:55:51 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-25 02:17:03 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-23 23:46:10 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-24 12:37:21 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-24 13:27:35 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-25 01:42:37 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-25 02:16:02 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-25 02:44:27 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-25 22:43:14 
Re: cron on 10.5.2 server
Robert Peirce <bob@[EM  2008-04-26 00:42:56 
Re: cron on 10.5.2 server
Bob Harris <nospam.New  2008-04-25 23:23:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 7:52:20 CST 2008.