[Samba] Remotely executing scheduled tasks
Henrik Zagerholm
henke at mac.se
Wed Jun 13 06:38:04 GMT 2007
13 jun 2007 kl. 05:28 skrev Simon Males:
>
>> From another Windows system using schtasks.exe a scheduled task
>> can be
> executed with the following syntax:
>
> schtasks /Run /TN "Backups" /S "remote_system_name"
>
> I suppose the Unix/SSH equivalent is:
>
> ssh user@"remote_system_name" /usr/local/bin/backups.sh
>
> Is there samba client for schtask.exe ?
>
Either you can try samba-tng's version of rpcclient to execute the
"at" command or you can try out winexe from http://eol.ovh.org/
winexe/ which will let you execute anything you want on a win machine
from linux.
Cheers,
Henrik
> --
> Simon Males <sime at anticd.org>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list