Follow

I have no idea how to set up a cron job.
*/20 * * * * cd /home/tweet-toot; python3 /home/tweet-toot/run.py

· · Web · 2 · 0 · 0

@matrix what do you mean with the first term? The star is for every minute. Don't count on python in your path. And start crond(it isn't standard anymore).
Edit with crontab -e
Just a few tips.

@frank87 It's supposed to mean every 20 minutes.
Should it be like this?
*/20 * * * * root cd /home/tweet-toot && /home/tweet-toot/run.sh

@matrix Small tip: redirect all output to a logfile. Cron mails all the output.

Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.