etherdump installation @ Varia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
525 B

date >> cron.log
echo "cronjob started!" >> cron.log
echo "" >> cron.log
# This will dump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml
/usr/local/bin/etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub publish --fix-names --no-raw-ext
# This will make an index for the dump
/usr/local/bin/etherdump index input \
publish/*.meta.json \
--order lastedited \
--templatepath templates \
--title "etherdump @ Varia" \
--output index.html