/crontab

HHA507 / Data Science / Assignment 6

Primary LanguagePython

crontab

This repo aims to automate tasks using crontab and contains:

api.py

README.md

  • this .md contains instructions for how the python files were automated using 3 crontab expressions (https://crontab.guru/)

Once a day, regardless of time:

0 0 * * * /usr/bin/python3 /home/alice_wu/crontab/api.py > log.txt 2>&1 &

Every Sunday at 10 PM:

00 10 * * SUN /usr/bin/python3 /home/alice_wu/crontab/api.py > log.txt 2>&1 &

Every Quarter:

0 0 1 */3 * /usr/bin/python3 /home/alice_wu/crontab/api.py > log.txt 2>&1 &

setup.md

  • contains instructions for how to setup up your .ssh terminal in a remote VM