https://github.com/nemeslaszlo/task-scheduler-automation
The repository contains three powershell scripts. One of them registers a scheduled task to run at startup with delay (starts a dokcer container), another removes the scheduled task and the related docker container and image. Plus a simple running script.
https://github.com/nemeslaszlo/task-scheduler-automation
docker installer-script powershell powershell-script task-scheduler uninstaller-script windows
Last synced: 3 months ago
JSON representation
The repository contains three powershell scripts. One of them registers a scheduled task to run at startup with delay (starts a dokcer container), another removes the scheduled task and the related docker container and image. Plus a simple running script.
- Host: GitHub
- URL: https://github.com/nemeslaszlo/task-scheduler-automation
- Owner: NemesLaszlo
- Created: 2022-07-25T22:13:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T16:12:25.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T08:44:07.478Z (4 months ago)
- Topics: docker, installer-script, powershell, powershell-script, task-scheduler, uninstaller-script, windows
- Language: PowerShell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task-Scheduler-automation
The repository contains three powershell scripts. One of them registers a scheduled task to run at startup with delay (starts a docker container), another removes the scheduled task and the related docker container and image. Plus a simple running script.
### About the files
- 'application-task-scheduler.ps1' - Creates a task in the task scheduler than starts the application's docker container
with a delay of 1 minute after the machine startup. It is necessary to run the docker application
on the server machine to make sure the scheduled task can successfully start the dockerized application.- 'application-task-scheduler-uninstall.ps1' - Completely deletes the application.
The scheduled task and the image file of the application and the container of the
application within docker will also be deleted.- 'application-run.ps1' - Starts the dockerized application with the configuration
from the mounted 'configuration' file in the folder.