Skip to main content

Schedule a task using systemd services and timer

Project description

SchedulerX

Authors

Installation

pip install schedulerx

License

MIT

Class Diagram of SchedulerX

classDiagram


class CommandHandler{
    +run_shell_command(command: string): string
}


class FileManager{
    filename: string
    <<property>> +file_full_path(): string
    +create_file(content: string)
}

class ServiceManager{
    +filename: string
    +command: string
    +description: string = ""
    +create_service_file()
    -get_service_text(): string
}

class TimerManager{
    +filename: string
    +description: string = ""
    +on_calendar: string
    +service_manager: ServiceManager
    -file_manager: FileManager
    -command_handler: CommandHandler
    -get_timer_text(): string
    +create_timer()
    +start_timer()
    +enable_timer()
}


FileManager --> CommandHandler
ServiceManager --> FileManager
TimerManager --> ServiceManager
TimerManager --> FileManager
TimerManager --> CommandHandler

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SchedulerX-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SchedulerX-1.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file SchedulerX-1.0.0.tar.gz.

File metadata

  • Download URL: SchedulerX-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for SchedulerX-1.0.0.tar.gz
Algorithm Hash digest
SHA256 75858f5e08ee90d7ab8f5257d321de573b1f9dec4c14628251432b446f8044f0
MD5 dfe00652faa22c0e9b16dbe453d190c9
BLAKE2b-256 13806ae7fc7006022f5b2c8f64701a553e258f7abd87dc75d6a08a24c29312ef

See more details on using hashes here.

File details

Details for the file SchedulerX-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: SchedulerX-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for SchedulerX-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 170ec32cb24c0483988eeb22ec7cca9c8846da450dde1616e7003f3c90d681ce
MD5 e82ea92e4650b17343c52c2ec33e23b0
BLAKE2b-256 8bf4c1f22ddaea9ab662061951f0a634b16ed61dd7a57e6cce7c09d31d4c6f6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page