mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Scheduler crontab fixed
This commit is contained in:
parent
44d94c61b1
commit
27ed1e6819
9 changed files with 211 additions and 113 deletions
|
@ -1,4 +1,4 @@
|
|||
# m h dom mon dow command
|
||||
1 1 * * * pip3 install --upgrade youtube-dl
|
||||
* * * * * php /var/www/html/AVideo/plugin/Scheduler/run.php
|
||||
#2 1 * * * php /var/www/html/AVideo/plugin/CDN/tools/moveMissingFiles.php
|
||||
1 1 * * * pip3 install --upgrade youtube-dl > /proc/1/fd/1 2>/proc/1/fd/2
|
||||
* * * * * php /var/www/html/AVideo/plugin/Scheduler/run.php > /proc/1/fd/1 2>/proc/1/fd/2
|
||||
#2 1 * * * php /var/www/html/AVideo/plugin/CDN/tools/moveMissingFiles.php > /proc/1/fd/1 2>/proc/1/fd/2
|
|
@ -129,10 +129,14 @@ chmod 777 /var/www/html/AVideo/videos/avideo.log
|
|||
echo "deny access to .compose"
|
||||
echo "Deny from all" > /var/www/html/AVideo/.compose/.htaccess
|
||||
|
||||
cd /var/www/html/AVideo/install && php updatedb.php
|
||||
cd /var/www/html/AVideo/Encoder/install && php reencodeAllVideos.php
|
||||
|
||||
echo "crontab starting"
|
||||
cron
|
||||
|
||||
apache2-foreground
|
||||
echo "apache2-foreground done"
|
||||
|
||||
cd /var/www/html/AVideo/install && php updatedb.php && installPluginsTables.php 4
|
||||
cd /var/www/html/AVideo/Encoder/install && php reencodeAllVideos.php
|
||||
|
||||
#eof
|
Loading…
Add table
Add a link
Reference in a new issue