Skip to content
This repository was archived by the owner on Aug 29, 2022. It is now read-only.
Yonic Surny edited this page Jul 12, 2015 · 3 revisions
Cron job

You can even add a cron job to perform the download process of all your favorite blog photos using the given tumblrdl_process.sh bash script.

Using crontab -e enter the following (launch download every hour):

0 * * * * cd ~/Desktop/tumblr/ && /bin/bash ./tumblrdl_process.sh > ./tumblrdl_process.log 2> ./tumblrdl_process_error.log

The script fails with a message like curl_init() function is undefined

On Ubuntu, PHP doesn't come with CURL which is used to perform the images donwload in the script. If the script fails with a fatal error claiming that the curl_init() function is undefined then you need to install curl. Running the following command (or similar for other linux distribution) should fix the problem.

sudo apt-get install php5-curl

Clone this wiki locally