16 lines
1.6 KiB
Plaintext
16 lines
1.6 KiB
Plaintext
#invidious cronjobs
|
|
0 0,6,12,18 * * * docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
|
|
|
|
#@hourly docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
|
|
@weekly docker-compose -f /srv/invidious/docker-compose.yml down --remove-orphans ; cp /srv/invidious/docker-compose.yml /srv/invidious.docker-compose.yml.backup ; git -C /srv/invidious reset --hard; git -C /srv/invidious pull ; cp /srv/invidious.docker-compose.yml.backup /srv/invidious/docker-compose.yml ; docker image prune -f ; docker-compose -f /srv/invidious/docker-compose.yml pull ;docker-compose -f /srv/invidious/docker-compose.yml up -d --build --force-recreate # weekly invidious upgrade!
|
|
0 0,6,12,18 * * * /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py clean ; /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range="IPV6RANGE::/64" ; docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
|
|
|
|
|
|
0 */1 * * * docker restart invidious_invidious_1 ; docker restart invidious_invidious_6
|
|
1 */1 * * * docker restart invidious_invidious_2 ; docker restart invidious_invidious_7
|
|
2 */1 * * * docker restart invidious_invidious_3 ; docker restart invidious_invidious_8
|
|
3 */1 * * * docker restart invidious_invidious_4 ; docker restart invidious_invidious_9
|
|
4 */1 * * * docker restart invidious_invidious_5 ; docker restart invidious_invidious_10
|
|
5 */1 * * * docker restart invidious_invidious_6 ; docker restart invidious_invidious_11
|
|
|