2019-05-08 01:24:45 +02:00
|
|
|
date >> cron.log
|
|
|
|
echo "cronjob started!" >> cron.log
|
|
|
|
echo "" > cron.log
|
|
|
|
|
2019-05-07 23:54:02 +02:00
|
|
|
# This will dump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml
|
2019-05-08 01:11:21 +02:00
|
|
|
/usr/local/bin/etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub publish --fix-names --no-raw-ext
|
2019-05-07 23:54:02 +02:00
|
|
|
|
|
|
|
# This will make an index for the dump
|
2019-05-08 01:11:21 +02:00
|
|
|
/usr/local/bin/etherdump index input \
|
|
|
|
publish/*.meta.json \
|
2019-05-07 23:54:02 +02:00
|
|
|
--order lastedited \
|
2019-05-08 01:11:21 +02:00
|
|
|
--templatepath templates \
|
2019-05-07 23:54:02 +02:00
|
|
|
--title "etherdump @ Varia" \
|
|
|
|
--output index.html
|