15 lines
534 B
Bash
15 lines
534 B
Bash
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 "Varia notes and dispatches" \
|
|
--output index.html
|