X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Ftools.md;h=1356d2c6a8a5c84f968e24fe02db61e227712402;hb=81bd40d2cb563a4c1c7be9c2b17e37fc04bfff6a;hp=c08747cdcc6d1ddd55716c3dc9e8389cf51caf62;hpb=221ee1adc916684d4881d2a9c4c01954dcde986e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/tools.md b/support/doc/tools.md index c08747cdc..1356d2c6a 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -140,7 +140,7 @@ these rules (ensure to customize them to your needs): 0 0 * * * /usr/bin/npm rebuild youtube-dl --prefix /PATH/TO/PEERTUBE/ # Synchronize the YT channel every sunday at 22:00 all the videos published since last monday included -0 22 * * 0 /usr/bin/node /PATH/TO/PEERTUBE/dist/server/tools/peertube-import-videos.js -u '__PEERTUBE_URL__' -U '__USER__' --password '__PASSWORD__' --target-url 'https://www.youtube.com/channel/___CHANNEL__' --since $(date --date="-6 days" +%Y-%m-%d) +0 22 * * 0 /usr/bin/node /PATH/TO/PEERTUBE/dist/server/tools/peertube-import-videos.js -u '__PEERTUBE_URL__' -U '__USER__' --password '__PASSWORD__' --target-url 'https://www.youtube.com/channel/___CHANNEL__' --since $(date --date="-6 days" +\%Y-\%m-\%d) ``` Also you may want to subscribe to the PeerTube channel in order to manually check the synchronization is successful.