search for: schtask

Displaying 20 results from an estimated 24 matches for "schtask".

Did you mean: schtasks
2007 Jun 13
1
Remotely executing scheduled tasks
>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 ? -- Simon Mal...
2020 Mar 03
2
[PATCH v3] windows: delay installation of qemu-ga MSI
...ot; /norestart /qn /l+*vx \"%~dpn0.log\" -set elvl=!errorlevel! -echo Done installing qemu-ga error_level=!elvl! -if !elvl! == 0 ( - echo Restarting Windows... - shutdown /r /f /c \"rebooted by firstboot script\" -) +echo Removing any previously scheduled qemu-ga installation +schtasks.exe /Delete /TN Firstboot-qemu-ga /F +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN...
2020 Mar 05
1
Re: [PATCH v3] windows: delay installation of qemu-ga MSI
...el! > > -echo Done installing qemu-ga error_level=!elvl! > > -if !elvl! == 0 ( > > - echo Restarting Windows... > > - shutdown /r /f /c \"rebooted by firstboot script\" > > -) > > +echo Removing any previously scheduled qemu-ga installation > > +schtasks.exe /Delete /TN Firstboot-qemu-ga /F > > +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " > > +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy&...
2020 Mar 05
0
Re: [PATCH v3] windows: delay installation of qemu-ga MSI
...log\" > -set elvl=!errorlevel! > -echo Done installing qemu-ga error_level=!elvl! > -if !elvl! == 0 ( > - echo Restarting Windows... > - shutdown /r /f /c \"rebooted by firstboot script\" > -) > +echo Removing any previously scheduled qemu-ga installation > +schtasks.exe /Delete /TN Firstboot-qemu-ga /F > +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " > +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU...
2020 Mar 02
2
[PATCH 0/1] Delay installation of QEMU-GA
This is a replacement for previously posted patch "Delay firstboot scripts to some later time": https://www.redhat.com/archives/libguestfs/2019-November/msg00134.html Instead of delaying all the firstboot scripts we just delay the QEMU-GA installation that we know is problematic. I will possibly send a similar patch for RHEV-APT installation later. Tom?? Golembiovsk? (1): windows:
2020 Mar 05
2
[PATCH v4] windows: delay installation of qemu-ga MSI
...-set elvl=!errorlevel! -echo Done installing qemu-ga error_level=!elvl! -if !elvl! == 0 ( - echo Restarting Windows... - shutdown /r /f /c \"rebooted by firstboot script\" -) -" in + let fb_script = sprintf "\ +echo Removing any previously scheduled qemu-ga installation +schtasks.exe /Delete /TN Firstboot-qemu-ga /F +echo Scheduling delayed installation of qemu-ga from %s +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN Firstboot-qemu-ga /TR \...
2018 Jan 12
0
Wine release 3.0-rc6
...rison. winhlp32: Remove redundant comparison. services/tests: Fix resource leak. Bob Ziuchkovski (1): dinput: Ignore vendor-specific usage pages for joystick elements on Mac. François Gouget (1): kernel32/tests: A couple spelling fixes in a comment. Jacek Caban (4): schtasks: Added partial /change command implementation. schtasks/tests: Added /change command tests. schtasks: Make /change argument case insensitive. mshtml/tests: Skip test_listener_order tests on IE7. Józef Kucia (11): dxgi/tests: Skip tests if DXGI_ERROR_NOT_CURRENTLY_AVAILABLE...
2019 Nov 21
4
[PATCH 0/2] Delay firstboot scripts to some later time
When firstboot is used from virt-v2v the scripts, if not fast enough, can get killed by Windows. After windows installs virtio drivers injected by virt-v2v it performs some internall reboot, stopping all the running services and killing any running firstboot script. This is problem mostly for MSI installs (like qemu-ga that was added recently) that can take several seconds to finish. This change
2020 Feb 11
3
Re: [PATCH 2/2] firstboot: schedule firstboot as delayed task
...ts_done=%%firstboot%%\\scripts-done > > -call :main >> \"%%log%%\" 2>&1 > +call :main %%1 >> \"%%log%%\" 2>&1 > exit /b > > :main > + > +if not '%%1' == 'real' ( > + REM schedule delayed task > + schtasks.exe /Delete /TN Firstboot /F > + powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN Firstboot /TR \\\"%%~dpnx0 real\\\"\" > + exit /b > +)...
2020 Mar 02
2
Re: [PATCH 1/1] windows: delay installation of qemu-ga MSI
...log\" > -set elvl=!errorlevel! > -echo Done installing qemu-ga error_level=!elvl! > -if !elvl! == 0 ( > - echo Restarting Windows... > - shutdown /r /f /c \"rebooted by firstboot script\" > -) > +echo Removing any previously scheduled qemu-ga installation > +schtasks.exe /Delete /TN Firstboot-qemu-ga /F > +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " > +powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU...
2019 Nov 21
0
[PATCH 2/2] firstboot: schedule firstboot as delayed task
...txt set scripts=%%firstboot%%\\scripts set scripts_done=%%firstboot%%\\scripts-done -call :main >> \"%%log%%\" 2>&1 +call :main %%1 >> \"%%log%%\" 2>&1 exit /b :main + +if not '%%1' == 'real' ( + REM schedule delayed task + schtasks.exe /Delete /TN Firstboot /F + powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN Firstboot /TR \\\"%%~dpnx0 real\\\"\" + exit /b +) + echo startin...
2020 Mar 02
0
[PATCH 1/1] windows: delay installation of qemu-ga MSI
...ot; /norestart /qn /l+*vx \"%~dpn0.log\" -set elvl=!errorlevel! -echo Done installing qemu-ga error_level=!elvl! -if !elvl! == 0 ( - echo Restarting Windows... - shutdown /r /f /c \"rebooted by firstboot script\" -) +echo Removing any previously scheduled qemu-ga installation +schtasks.exe /Delete /TN Firstboot-qemu-ga /F +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " +powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN...
2020 Mar 03
0
[PATCH v2] windows: delay installation of qemu-ga MSI
...ot; /norestart /qn /l+*vx \"%~dpn0.log\" -set elvl=!errorlevel! -echo Done installing qemu-ga error_level=!elvl! -if !elvl! == 0 ( - echo Restarting Windows... - shutdown /r /f /c \"rebooted by firstboot script\" -) +echo Removing any previously scheduled qemu-ga installation +schtasks.exe /Delete /TN Firstboot-qemu-ga /F +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN...
2020 Mar 10
0
Re: [PATCH v4] windows: delay installation of qemu-ga MSI
...ling qemu-ga error_level=!elvl! > -if !elvl! == 0 ( > - echo Restarting Windows... > - shutdown /r /f /c \"rebooted by firstboot script\" > -) > -" in > + let fb_script = sprintf "\ > +echo Removing any previously scheduled qemu-ga installation > +schtasks.exe /Delete /TN Firstboot-qemu-ga /F > +echo Scheduling delayed installation of qemu-ga from %s > +powershell.exe -command \"$d = (get-date).AddSeconds(120); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN Firstboot-qem...
2020 Feb 13
0
Re: [PATCH 2/2] firstboot: schedule firstboot as delayed task
...t; > -call :main >> \"%%log%%\" 2>&1 > > +call :main %%1 >> \"%%log%%\" 2>&1 > > exit /b > > > > :main > > + > > +if not '%%1' == 'real' ( > > + REM schedule delayed task > > + schtasks.exe /Delete /TN Firstboot /F > > + powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy') /RU SYSTEM /TN Firstboot /TR \\\"%%~dpnx0 real\\\"\" > > + exit /...
2020 Mar 03
0
Re: [PATCH 1/1] windows: delay installation of qemu-ga MSI
...el! > > -echo Done installing qemu-ga error_level=!elvl! > > -if !elvl! == 0 ( > > - echo Restarting Windows... > > - shutdown /r /f /c \"rebooted by firstboot script\" > > -) > > +echo Removing any previously scheduled qemu-ga installation > > +schtasks.exe /Delete /TN Firstboot-qemu-ga /F > > +echo Scheduling delayed installation of qemu-ga from " ^ msi_path ^ " > > +powershell.exe -command \"$d = (get-date).AddSeconds(119); schtasks.exe /Create /SC ONCE /ST $d.ToString('HH:mm') /SD $d.ToString('MM/dd/yyyy&...
2018 Feb 02
0
Wine release 3.1
...its during CreateBitmapIndirect() to catch out-of-memory errors. ole32: Don't keep the streams open. ole32: There's no need to recreate the static entry when parsing the CONTENTS stream. ole32: Allow caching of icon aspects for static class caches. Jacek Caban (18): schtasks: Added /delete command implementation. schtests: Added /create command implementation. schtasks: Added support for /f argument in create command. ole32: Post quit message after leaving wait loop in CoWaitForMultipleHandles. ole32: Don't dispatch WM_QUIT messages in CoWa...
2012 May 17
1
Windows Task Scheduler and R updates. Need basic tips
This is a basic Windows system administrator problem, asked by a Linux guy who is helping out in a Windows lab. I want to keep R packages up to date on MS Windows 7 with a job in the "Task Scheduler". I have an R program that I can run (as administrator) that updates the existing packages and then installs all the new ones. I do not understand how to run that in a dependable way in
2012 Nov 09
0
Wine release 1.5.17
...msvcp: Sync std::getline(istream<> &) implementations. shell32: Initialize fAnyOperationsAborted in SHFileOperation. msvcp90/tests: Add fstream<>::tellg tests. Detlef Riekenberg (6): winhttp: Accept WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH as session option. schtasks: Add a stub schtasks.exe. mstask: Implement GetTargetComputer. mstask/tests: Add tests for GetTargetComputer. mstask: Implement SetTargetComputer. mstask/tests: Add tests for SetTargetComputer. Dmitry Timoshkov (4): gdiplus: Add support for extra transformation in Gd...
2012 Mar 05
8
Automating R script with Windows 7
Hi R-users, I am trying to automate the daily running of a simple R script from Windows 7. >From previous posts, I understand that this needs to be done with the task scheduler. I can schedule my laptop to automatically open R at a certain time, but not to execute a script. Secondary question: how do I save a list of R commands so that they get executed once the file is open? Right now, I