/usr/local/bin/python3
/usr/bin:/bin
# Wrong
*/5 * * * * python3 /home/user/scripts/cleanup.py # Right
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py
# Wrong
*/5 * * * * python3 /home/user/scripts/cleanup.py # Right
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py
# Wrong
*/5 * * * * python3 /home/user/scripts/cleanup.py # Right
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py
PATH=/usr/local/bin:/usr/bin:/bin
*/5 * * * * python3 /home/user/scripts/cleanup.py
PATH=/usr/local/bin:/usr/bin:/bin
*/5 * * * * python3 /home/user/scripts/cleanup.py
PATH=/usr/local/bin:/usr/bin:/bin
*/5 * * * * python3 /home/user/scripts/cleanup.py
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py >> /var/log/cleanup.log 2>&1
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py >> /var/log/cleanup.log 2>&1
*/5 * * * * /usr/local/bin/python3 /home/user/scripts/cleanup.py >> /var/log/cleanup.log 2>&1
./data/input.csv
*/5 * * * * cd /home/user/project && ./scripts/cleanup.sh
*/5 * * * * cd /home/user/project && ./scripts/cleanup.sh
*/5 * * * * cd /home/user/project && ./scripts/cleanup.sh
*/5 * * * * . /home/user/.env && /home/user/scripts/deploy.sh
*/5 * * * * . /home/user/.env && /home/user/scripts/deploy.sh
*/5 * * * * . /home/user/.env && /home/user/scripts/deploy.sh
* * * * * date >> /tmp/cron-test.txt
* * * * * date >> /tmp/cron-test.txt
* * * * * date >> /tmp/cron-test.txt
systemctl status cron
service cron status