Justin Beckley <[EMAIL PROTECTED]> writes:

> I am trying to use auconfig.pl script to set the automatic update
> schedule for my machines.  I read over the documentation and tried
> this command:
> auconfig.pl --day=7 --time=4 4
> I always got an error message though.  Can someone correct my problem
> or tell me the correct syntax.
> 
> Justin

That is because that functionality is untested and broken :-).

I am appending a patch to fix the problem.  You can apply it, or you
can wait 24 hours (for the CVS to propagate) and download the new
version from <http://unattended.sourceforge.net/apps.html#auconfig>.

 - Pat


--- auconfig.pl.~1.2.~  2002-11-26 12:00:21.000000000 -0500
+++ auconfig.pl 2003-09-03 14:07:04.000000000 -0400
@@ -7,7 +7,7 @@
 use Pod::Usage;
 
 my %opts;
-GetOptions (\%opts, 'help|h|?', 'day', 'time')
+GetOptions (\%opts, 'help|h|?', 'day=i', 'time=i')
     or pod2usage (2);
 
 (exists $opts{'help'})


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to