Re: using at to restart dhcp server

2011-10-20 Thread Chris Davies
Bonno Bloksma wrote: > [...] some was new like the use of the letters EOF in stead of the > "real" EOF character. That's only because the OP used the << construct. Let me demonstrate. In this example, where I've written ^D you would need to press Ctrl/D: cat >/tmp/file1 type your stuff here ^D

Re: using at to restart dhcp server

2011-10-20 Thread Darac Marjal
On Thu, Oct 20, 2011 at 11:01:56AM +0200, Bonno Bloksma wrote: > Hi Andrew, > > >Obviously, if you create a cron job to run, then you can forget > >about having the "at" scheduler in any script that might be > >called, just have the script do what needs to be done /at/ the > >crontab scheduled tim

Re: using at to restart dhcp server

2011-10-20 Thread Bonno Bloksma
Hi Andrew, Obviously, if you create a cron job to run, then you can forget about having the "at" scheduler in any script that might be called, just have the script do what needs to be done /at/ the crontab scheduled time. The whole idea of using at in stead of cron is because this was just a

Re: using at to restart dhcp server

2011-10-19 Thread Andrew McGlashan
Obviously, if you create a cron job to run, then you can forget about having the "at" scheduler in any script that might be called, just have the script do what needs to be done /at/ the crontab scheduled time. ;-) cheers AndrewM -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o

Re: using at to restart dhcp server

2011-10-19 Thread Andrew McGlashan
On 20/10/2011 12:07 AM, Andrew McGlashan wrote: Hi, On 19/10/2011 11:45 PM, Bonno Bloksma wrote: Using Debian Lenny I want to restart my dhcp server tonight at 7pm using the at command so I enter: at 7pm /etc/init.d/dhcp3-server restart and get syntax error. last token seen: / The same for at 7

Re: using at to restart dhcp server

2011-10-19 Thread Dom
On 19/10/11 13:54, Darac Marjal wrote: On Wed, Oct 19, 2011 at 02:45:20PM +0200, Bonno Bloksma wrote: Hi, Using Debian Lenny I want to restart my dhcp server tonight at 7pm using the at command so I enter: at 7pm /etc/init.d/dhcp3-server restart and get syntax error. last token seen: / The sam

Re: using at to restart dhcp server

2011-10-19 Thread Andrew McGlashan
Hi, On 19/10/2011 11:45 PM, Bonno Bloksma wrote: Using Debian Lenny I want to restart my dhcp server tonight at 7pm using the at command so I enter: at 7pm /etc/init.d/dhcp3-server restart and get syntax error. last token seen: / The same for at 7pm "/etc/init.d/dhcp3-server restart" # at 7pm

Re: using at to restart dhcp server

2011-10-19 Thread Darac Marjal
On Wed, Oct 19, 2011 at 02:45:20PM +0200, Bonno Bloksma wrote: > Hi, > > Using Debian Lenny I want to restart my dhcp server tonight at 7pm using the > at command so I enter: > at 7pm /etc/init.d/dhcp3-server restart > and get > syntax error. last token seen: / > The same for > at 7pm "/etc/init.

using at to restart dhcp server

2011-10-19 Thread Bonno Bloksma
Hi, Using Debian Lenny I want to restart my dhcp server tonight at 7pm using the at command so I enter: at 7pm /etc/init.d/dhcp3-server restart and get syntax error. last token seen: / The same for at 7pm "/etc/init.d/dhcp3-server restart" So how am I supposed to enter this command? What am I d