Networker

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

2005-05-20 11:17:03
Subject: Re: [Networker] creating new schedules from unix command line - syntax error
From: Rick Caldwell <rickc AT DALLAS.OILFIELD.SLB DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 20 May 2005 10:12:58 -0500
Darren Dunham 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,

It's the line before...  No semicolon.

That helped but still get errors
root@dfws00> nsradmin -i add_sched
create failed: `6 forth friday every month' is an invalid schedule override
create failed: `4 forth friday every month' is an invalid schedule override
create failed: `2 forth friday every month' is an invalid schedule override
create failed: `full forth friday every month' is an invalid schedule override
root@dfws00>



--
Have you noticed that a "slight tax increase" costs us at least two
hundred dollars a year, but a "substantial tax cut" saves us maybe thirty cents?

rickc AT dallas.oilfield.slb DOT com  or rickc AT slb DOT com


--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=