From 33c9ac5e49a70708d6ffccae4cfdb79e307e1336 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 28 Dec 2020 05:29:58 -0500 Subject: [PATCH] Added WSL crontab scheduled task. --- README.md | 5 ++++ taskScheduler/startWSLCronTab.xml | 48 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 taskScheduler/startWSLCronTab.xml diff --git a/README.md b/README.md index 18fb1db..46152ba 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,9 @@ This contains the modificaitons that I make to the about:config page of firefox. **userChrome.css** This file contains the CSS data to remove the close tab buttons from the tabs in Firefox. Also included in the form of comments are the instructions to do so as well as the page that I found this solution on. +### Task Scheduler + +**startWSLCronTab.xml** +This script should be imported to Windows Task Scheduler and will start the crontab service upon logging in to your Windows account. You will have to modify the user account to your own under the security options in General and the Triggers tabs. Be sure to also edit the command to reflect the distrubution you have installed. + more to come diff --git a/taskScheduler/startWSLCronTab.xml b/taskScheduler/startWSLCronTab.xml new file mode 100644 index 0000000..7d225a9 --- /dev/null +++ b/taskScheduler/startWSLCronTab.xml @@ -0,0 +1,48 @@ + + + + 2020-02-12T02:21:24.7358969 + AURORA-PC\root + Starts the crontab service on login for Ubuntu18.04 on Windows Subsystem for Linux. + \Start WSL Crontab + + + + true + AURORA-PC\root + + + + + S-1-5-21-0000000000-000000000-0000000000-1001 + InteractiveToken + LeastPrivilege + + + + IgnoreNew + false + false + true + true + false + + true + false + + true + true + false + false + false + PT72H + 7 + + + + C:\Windows\System32\wsl.exe + + -d Ubuntu-20.04 -u root service cron start + + +