Networker

Re: [Networker] creating new schedules from unix command line - syntax error

2005-05-19 20:09:21
Subject: Re: [Networker] creating new schedules from unix command line - syntax error
From: "David M. DesRosiers" <dave AT LL.MIT DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 19 May 2005 20:08:11 -0400
Just a wild guess: try it with quotation marks around the names -- e.g., name: "Full 1st Friday"; -- because they contain spaces.

Rick Caldwell wrote:

I'm trying to add some new schedules via the command line (I have several servers to do this on) but I'm getting a syntax error complaining about a unterminated value list. What might
I have wrong?

Resource parse error: unterminated value list
       override: full first friday every month,
                    ^

when I issue the command     nsradmin -i add_sched

The add_sched file contains:

create  type: NSR Schedule;
       name: Full 1st Friday;
       period:Month;
       action: incr incr incr incr incr incr incr,
       override: full first friday every month,
       2 second friday every month,
       4 third friday every month,
       6 forth friday every month,
       7 fifth friday every month;

--
     _
  __| | __ _ _  __ ___    | David M. DesRosiers
 / _' |/ _' | \/  / _ \   | MIT Lincoln Laboratory
| (_| | (_| |    /  __/   | 244 Wood Street
 \__,_|\__,_|\__/ \____@  | Lexington MA 02420-9108
              ll.mit.edu  | USA

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=