schedule bash-script

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

schedule bash-script

Post by pakikje »

Hello guys,

I wrote a bash-script that will wget the latest news-broadcast (NOS-journaal) and place it in de dlna-folder so i can view it on my smart-tv.

How do i schedule this script so that it will run every hour?

Is there a folder that i have to place it in?
Do i have to cmod +x it?

(i tried it with webmin but it broke my dietpi-installation)
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: schedule bash-script

Post by johnvick »

Put it in
/etc/cron.hourly
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: schedule bash-script

Post by pakikje »

thnx man!

ps: i dusted of my orange pi plus :-)
Post Reply