matfra / isitfoggy.today

Few scripts to setup a timelapse camera
11 stars 2 forks source link

install.sh uses cp for cron job #6

Open nhandler opened 6 years ago

nhandler commented 6 years ago

Right now, install.sh adds the timelapse cron job by copying (cp) it to /etc/cron.d. It would be nice if it created a symlink (ln -s) so that future updates to the cron job in this git repository go live automatically.

matfra commented 6 years ago

That is because cron will be unhappy if you stick a link there.precisely it will be unhappy if the file doesn't belong to root