Skip to content

blondelg/easy_scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy_scheduler

Script scheduler and monitoring on Linux Ubuntu server Here is a set of scripts and commands that make script scheduling and monitoring easier on Linux Ubuntu.

Python Virtual Environment

A virtual environment is used to run a particular script, it could be also useful to implement python scripts. To install it:

python3 -m venv config/venv
source config/venv/bin/activate
pip install -r config/requirements.txt

Update .bashrc to run commands

add the folling line at the end of the .bashrc file

export PATH=$PATH:<PATH_TO>/easy_scheduler/config/scripts
export HOME_ES=<PATH_TO>/easy_scheduler

make new variables effectives

source ~/.bashrc

Setup first script

put the script example.sh to be automated here:

  • /scripts

update the corresponding timer and services files, see:

  • /timers/example.timer
  • /timers/example.service

run the following command to implement the scheduling configuration:

update_timers.sh

to get help on other commands, just type ? in the command prompt.

About

Script scheduler and monitoring on Linux Ubuntu server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published