ILIAS-7-Install-Tutorial for Ubuntu 20.04
Change default.pdf by script nightly
- Upload a default.pdf to your ILIAS system and change the rights so that it is accassible from the www (give ananymous read access)
- Log in to your BBB-Server
cd /root
nano defaultpdf.sh
- Paste this in:
1 | #!/bin/bash |
- Change line 3 as you want
- exit
chmod +x defaultpdf.sh
nano /etc/crontab
- Put this line in:
1 | 1 3 * * * root /root/defaultpdf.sh > /dev/null 2>&1 |
- This should run the script at 3:01 am.
- If you run multiple BBB instances and you want to maintain only one script, you can run it like this on the remote servers:
wget -qO- https://kivinet.de/defaultpdf.sh | bash -s
1 | 19 3 * * * root wget -qO- https://kivinet.de/defaultpdf.sh | bash -s |