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.1.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.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SchedulerX-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 eaecfc125b8af0fb21a9ecfb4ba73a49e9064fb7f79e579e75c05b7d30693bb3
MD5 bd977622b0c350af576a7ce165917972
BLAKE2b-256 79abc3ca2be30f638ebaccddcb682ed2fb1602c1934c93263cc179dc3eebe3f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SchedulerX-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b93a3aa670110bdc8141a375a52a50418bec86a24bd3201150e45b38ef719ef
MD5 3809c3c18d947d924d0cab066708beaa
BLAKE2b-256 94df6458924e48dccc3645fd47d50a0c58597a8605450e49e1dc9b7c39f022d4

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