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 67 of 68 Topic 6031 of 6424
Post > Topic >>

Re: cron on 10.5.2 server

by Robert Peirce <bob@[EMAIL PROTECTED] > Apr 26, 2008 at 12:42 AM

In article <nospam.News.Bob-EE7E05.18430925042008@[EMAIL PROTECTED]
>,
 Bob Harris <nospam.News.Bob@[EMAIL PROTECTED]
> wrote:

> In article <bob-E4827D.22442724042008@[EMAIL PROTECTED]
>,
>  Robert Peirce <bob@[EMAIL PROTECTED]
> wrote:
> 
> > In article <nospam.News.Bob-FC333A.21423324042008@[EMAIL PROTECTED]
>,
> >  Bob Harris <nospam.News.Bob@[EMAIL PROTECTED]
> wrote:
> > 
> > > OK, some suggestions:
> > > 
> > > 1)  Modify your own .vimrc to specify your own nowritebackup
> > > 
> > >     autocmd BufReadPre,FileReadPre crontab.* set nowritebackup
> > > 
> > >     NOTE 1: I am setting the value when the file is read,
> > >             NOT when it is written.
> > > 
> > >     NOTE 2: I did NOT specify a directory path.
> > >             I just said any file that starts with
> > >             crontab.* is treated this way.
> > > 
> > > 2)  Make the above modification to /usr/share/vim/vimrc
> > 
> > This works!  Thanks, so much.  I tried it first in my own .vimrc file 
> > then I put it in the system file.
> > 
> > I have been reviewing the vim help on "events."  Actually seeing this 
> > really helped a lot.
> > 
> > Now I am wondering why BufReadPre and FileReadPre work but BufWrite
does 
> > not.  BufWrite is supposed to apply before writing, but there must be 
> > some kind of delay operating that is preventing this. Anyhow, you got
it 
> > working for me and I appreciate it.
> 
> /usr/share/vim/vimrc specified /private/tmp/crontab.*, however, 
> when I was doing my testing, I noticed that Vim thought the file 
> was stored in /tmp/crontab.*
> 
> I am assuming that the real root of the problem is that they 
> changed the behavior of crontab -e to use a different path for the 
> file being edited.  But no one thought to fix the 
> /usr/share/vim/vimrc file.

I had /private/tmp linked to /tmp.  I picked that up in 10.4.  I ran 
into a problem with some other program that had the same situation.  Now 
I can't remember what it was.  I guess I didn't realize I was also 
fixing cron!

More im****tantly, I got the original version of vimrc to work.  I first 
tried your idea of removing the path and that worked.  Then I put the 
path back in and it worked.  The only thing I can figure is I must have 
had an unprintable character buried somewhere in the path and it got 
removed when I was playing with it.

I really appreciate everybody's help.  It looks like everything is back 
together and working the way it is supposed to work.

-- 
Robert B. Peirce, Venetia, PA  724-941-6883
bob AT peirce-family.com [Mac]
rbp AT cooksonpeirce.com [Office]
 




 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 8:03:49 CST 2008.