aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/tools.md2
1 files changed, 1 insertions, 1 deletions
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):
1400 0 * * * /usr/bin/npm rebuild youtube-dl --prefix /PATH/TO/PEERTUBE/ 1400 0 * * * /usr/bin/npm rebuild youtube-dl --prefix /PATH/TO/PEERTUBE/
141 141
142# Synchronize the YT channel every sunday at 22:00 all the videos published since last monday included 142# Synchronize the YT channel every sunday at 22:00 all the videos published since last monday included
1430 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) 1430 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)
144``` 144```
145 145
146Also you may want to subscribe to the PeerTube channel in order to manually check the synchronization is successful. 146Also you may want to subscribe to the PeerTube channel in order to manually check the synchronization is successful.