Skip to content
svticaPublic

About

A lightweight alternative to Windows Task Scheduler

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

LiteTask

License: Unlicense GitHub release Release

Lightweight alternative to Windows Task Scheduler with advanced PowerShell integration and secure credential management.

LiteTask is a comprehensive task scheduling application that can run as both a desktop application and Windows service, providing flexible automation capabilities with built-in tool management.

Features

Core Scheduling

  • Multiple Task Types: PowerShell scripts, batch files, SQL scripts, and executables
  • Advanced Scheduling: One-time, interval-based, daily with multiple time slots, monthly, and task chaining
  • Action System: Multiple actions per task, with dependencies between them
  • Secure Execution: Credential management, Windows/SQL authentication, and elevation control

PowerShell Integration

  • Built-in module management with isolated environments
  • Support for popular modules (Azure, AWS, VMware, etc.)
  • PowerShell remoting with CredSSP support
  • Remote execution capabilities

Tool Management

  • Optional tools (sqlcmd, LitePM, LiteDeploy) downloaded on demand from their GitHub releases (Tools > Manage Tools)
  • sqlcmd downloaded automatically the first time a SQL task needs it
  • Built-in process monitoring through LitePM

Notifications & Logging

  • Smart notification batching with email alerts
  • Comprehensive logging with rotation policies
  • Error tracking and diagnostic capabilities

Installation

  1. Prerequisite: .NET 10 Desktop Runtime (x64) (Microsoft.WindowsDesktop.App 10.x)
  2. Download the latest release
  3. Extract files to desired location
  4. After a manual extraction, run LiteTask-Post-Build.ps1 once from the LiteTask folder: it removes the Mark of the Web from the extracted files and deletes the build folders LiteTask does not use (the built-in updater runs it automatically)
  5. Run LiteTask.exe
  6. Optional - Install as Windows Service: menu Service > Install Service (LiteTask run as administrator), or from an elevated prompt in the LiteTask folder:
    LiteTask.exe -register
    Both register LiteTaskService with sc.exe to run "<folder>\LiteTask.exe" -service, automatic start, LocalSystem account (equivalent to sc create LiteTaskService binPath= "\"C:\Program Files\LiteTask\LiteTask.exe\" -service" start= auto). The built-in updater stops and restarts the service it finds this way. LiteTask.exe -unregister (or Service > Uninstall Service) removes it. InstallUtil is not used (it does not exist for .NET 10).

Usage

Desktop Application

  • Launch LiteTask.exe for the graphical interface
  • Configure tasks, schedules, and credentials through the UI
  • Monitor execution status and logs

Command Line Interface

LiteTask.exe [options]
  -service          Run as Windows service
  -register         Register Windows service (requires admin)
  -unregister       Unregister Windows service (requires admin)
  -runtask <name>   Run the specified task
  -debug            Run in debug mode

Configuration

  1. First Launch: Application creates necessary directories and default configuration
  2. Tool Setup: Go to Tools > Check Tools to verify utilities
  3. PowerShell Modules: Tools > Install PowerShell Modules for additional functionality
  4. Credentials: File > Credential Manager to add authentication details (account type LiteSuite: shared with LiteDeploy)

Directory Structure

LiteTaskData/
├── logs/              # Application and task logs
├── Modules/           # PowerShell modules  
├── tools/             # Downloaded tools (sqlcmd.exe, LitePM\, LiteDeploy\)
├── temp/              # Temporary files
└── settings.xml       # Configuration file

Technology Stack

  • Platform: .NET 10 (LTS) Windows, PowerShell SDK 7.6 (LTS)
  • Language: VB.NET
  • UI: Windows Forms
  • Dependencies: PowerShell SDK, ServiceController, LiteSuite.Common (NuGet package from GitHub Packages, shared with LiteDeploy: set the user environment variable LITESUITE_PACKAGES_TOKEN to a personal access token with read:packages only to build locally)

Releases

Actions > Release > Run workflow (patch by default): bump-version.ps1 raises the version (patch = last part, e.g. 1.3.0.3 -> 1.3.0.4), commits and tags it on main, then the build signs and publishes LiteTask.zip. Same use as LitePM and LiteDeploy. Locally: .\bump-version.ps1 -Bump patch (or -Version 1.3.0.4).

License

This software is released under The Unlicense - public domain.


For detailed help and troubleshooting, see help.md.

Part of LiteSuite

This tool is part of LiteSuite - a comprehensive collection of lightweight Windows administration tools.

Other Tools in the Suite:

  • LiteTask - Advanced Task Scheduler Alternative
  • LitePM - Process Manager with System Monitoring
  • LiteDeploy - Network Deployment and Management
  • LiteRun - Remote Command Execution Utility (archived)
  • LiteSrv - Windows Service Wrapper (archived)

About

A lightweight alternative to Windows Task Scheduler

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages