rpcclient "at" command
Greg Dickie
greg at discreet.com
Tue Aug 24 16:57:23 GMT 1999
Excellent! I'll take a look thanks for the quick (as usual) answer.
Greg
On 24-Aug-99 Matt Chapman wrote:
> Greg Dickie wrote:
>>
>> Hi,
>>
>> I'm trying to use the rpcclient "at now" to start a batch job but it seems
>> to
>> end up in the at queue for this time tomorrow. Is the "now" processed in
>> rpcclient or does it get passed to NT?
>
> It's processed in rpcclient. It asks the server for the current time,
> adds SOON_OFFSET seconds and schedules it then. See the at_soon function
> in rpcclient/cmd_atsvc.c.
>
> You may need to increase SOON_OFFSET (defined just above at_soon). Then
> again, if you look at the code you'll see I'm not actually wrapping the
> seconds into the minutes properly, so that could be a problem too.
>
> Do you have the reskit handy? I'd be very interested to know exactly how
> the "soon" utility works. I'll have to check that out sometime.
>
> Matt
>
>
> --
> Matthew "Austin" Chapman
> SysAdmin, Developer, Samba Team Member
---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet (the logic is gone)
Montreal
(514) 954-7171
greg at discreet.com
More information about the samba-ntdom
mailing list