The purpose of this repository is automate basic task by running a Command or by a Cron job.
First you need to download the repository. Just by clicking the here or cloning it, and following these steps:
- Unzip the file on the directory of your prefered
- Open your terminal or console and go to the directory of script you want to excecute
- TODO
To make the script run automatically on your system every directory contain a list of dependecies that your machine must meet before excecute.
For Unix users:
- Open the terminal
- Open the crontab editor using
vi
$ sudo export VISUAL=vi
$ sudo export EDITOR=vi
$ sudo crontab -e
- Now add the following example of configuration to the job
# Ansible: Send sms message every minute
* * * * * * ./<directory_where_repo_downloaded>/python/sms_to.py >> /var/log/sms_to.log 2>&1
For Windows users:
- Open the console (Run as administrator)
- Open the Windows task schedule
> control schedtasks
Complete the scripts config and retake this project.