UnsplashDownloader
location: $HOME/Pictures
cd $HOME/Pictures
git clone https://github.com/evals4dead/UnsplashDownloader
go to this link: https://unsplash.com/developers
register new application for unsplash api
make file: .env (on a root of this directory)
see .env.sample and write .env
yarn
yarn build
yarn start
chmod +x $HOME/Pictures/UnsplashDownloader/exec.sh
crontab -e
-
*/30 * * * * /bin/zsh $HOME/Pictures/UnsplashDownloader/exec.sh >> /tmp/cron.out
// eveery 30 minutes, this server will be turned on by cronjob.
// so the recommended port is 1234. (the port that is unusually used for your development.)