[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using at to restart dhcp server



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 <<EOF
> /etc/init.d/dhcp3-server restart
> EOF
warning: commands will be executed using /bin/sh
job 13 at Thu Oct 20 19:00:00 2011


--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP

Current Land Line No: 03 9012 2102
Mobile: 04 2574 1827 Fax: 03 9012 2178

National No: 1300 85 3804

Affinity Vision Australia Pty Ltd
http://www.affinityvision.com.au
http://adsl2choice.net.au

In Case of Emergency --  http://www.affinityvision.com.au/ice.html


Reply to: