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.

18 lines
807 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
/srv/etherdump/bin/etherdump pull --all --meta --dhtml --html --publish __PUBLISH__ --publish-opt-in --pub publish --fix-names --no-raw-ext --padinfo /srv/etherdump-settings/settings.json
# This will make an index for the dump
/srv/etherdump/bin/etherdump index input \
publish/*.meta.json \
--order lastedited \
--reverse \
--templatepath templates \
--title "Varia notes and dispatches" \
--output index.html | tee -a etherpump.log
# This will save a pad.css file every hour from the pad
# cp publish/pad.css /srv/etherpad-lite/src/altetherpad/src/static/skins/no-skin/pad.css