Skip to main content

Script Scheduler

Script Scheduler is a package created for managing long running python files which is bound by some time interval like developer wants to run script for 3 hours in first half and 5 hours in second half a day. Here Script Scheduler comes into picture where you can just specify script path, start time and end time, these would be list.

Steps

  • Specify list of python files
  • Specify list of start times for all the scripts
  • Specify list of end time for all the scripts

Installation

Script Scheduler requires python3 to run.

pip3 install scriptScheduler

Usage

Schedule Script

from scriptScheduler import scriptScheduler

fileList = ['path_to_file1.py', 'path_to_file2.py', 'path_to_file3.py']
startTimeList = ['12:00', '14:00', '16:00']
stopTimeList = ['13:00', '15:00', '17:00']

scriptScheduler(fileList, startTimeList, stopTimeList)

Remove Script From Timeline

from scriptScheduler import scriptRemove

scriptId = id # you can get this from logs
scriptRemove(scriptId)

Bring Back Script To Timeline

from scriptScheduler import scriptAdd

scriptId = id # you can get this from logs
scriptAdd(scriptId)

Update Timeline -- Development Inprogress

# It will there in next release

Metadata

Release files for Script-Scheduler 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Script-Scheduler 0.3.0
File Size Uploaded Provenance
Script Scheduler-0.3.0.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Script-Scheduler 0.3.0
File Interpreter ABI Platform
Script_Scheduler-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / Script Scheduler-0.3.0.tar.gz

Download URL Script Scheduler-0.3.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ac3b358f92e7b3b9438fa1174102604feea856cef7df464c2645934da2807f52
BLAKE2b-256 checksum
How to use checksums
3c3746ac123e01c93cde7a90051d1d9747023798569d4e2bd9070814fa7bada4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / Script_Scheduler-0.3.0-py3-none-any.whl

Download URL Script_Scheduler-0.3.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
393743efe67b1c7bbacd6b9a762e0029c6f4cfe2834c0b086c446b738d85d911
BLAKE2b-256 checksum
How to use checksums
e70b036c1d3c2bea02320a0ad550301360f0ead7df0d8a94cb86878a5770b58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for Script-Scheduler 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page