Remove windows scripts

This commit is contained in:
DariusIII
2017-11-06 11:41:28 +01:00
parent f591ae9b60
commit 477304d2c4
9 changed files with 1 additions and 147 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-11-06 DariusIII
* Chg: Remove windows scripts
* Chg: Update Forking class
* Chg: Update ProcessReleases class
2017-11-03 DariusIII
-11
View File
@@ -1,11 +0,0 @@
Inlcuded in this folder are batch files for windows users.
You MUST set your system path to include the PHP path.
Otherwise at the top of each batch file add the line
set Path=C:\yourpathtoPHP\
updatebinaries.bat will execute the updatebinaries.php script.
updatereleases.bat will execute the updatereleases.php script.
updatebackill.bat will execute the backfill.php script.
Runme.bat will run a continous loop of update binaries and update releases and will optimise your db every 300 cycles.
Runme_with_scrape.bat is the same thing as Runme, however it will scrape every fifth time, if you are utilizing reqscraper.
Binary file not shown.
-3
View File
@@ -1,3 +0,0 @@
CD..
php.exe optimise_db.php true
quit
-48
View File
@@ -1,48 +0,0 @@
set optimise=1
set limit=111111111111111111111111
:Top
CD..
php.exe update_database_version.php
php.exe update_binaries.php
php.exe update_releases.php
CD win
set /a optimise=%optimise%+1
if %optimise%==300 goto optimise
:OptimiseDone
set /a tv=%tv%+1
if %tv%==20 goto tv
:TVDone
set /a Movies=%Movies%+1
if %Movies%==20 goto Movies
:moviesDone
Sleep 120
GOTO TOP
:Optimise
CD..
php.exe optimise_db.php
set optimise=0
CD win
GOTO OptimiseDone
:TV
CD..
php.exe update_tvschedule.php
set tv=0
CD win
GOTO tvdone
:Movies
CD..
set Movies=0
CD win
GOTO Moviesdone
-63
View File
@@ -1,63 +0,0 @@
set optimise=1
set scrape=1
set limit=111111111111111111111111
:Top
CD..
php.exe update_database_version.php
php.exe update_binaries.php
php.exe update_releases.php
CD win
set /a scrape=%scrape%+1
if %scrape%==5 goto scrape
:ScrapeDone
set /a optimise=%optimise%+1
if %optimise%==300 goto optimise
:OptimiseDone
set /a tv=%tv%+1
if %tv%==20 goto tv
:TVDone
set /a Movies=%Movies%+1
if %Movies%==20 goto Movies
:moviesDone
Sleep 120
GOTO TOP
:Optimise
CD..
php.exe optimise_db.php
set optimise=0
CD win
GOTO OptimiseDone
:Scrape
CD..
CD..
CD reqscraper
php scrape.php
set scrape=0
CD..
CD update
CD win
GOTO ScrapeDone
:TV
CD..
php.exe update_tvschedule.php
set tv=0
CD win
GOTO tvdone
:Movies
CD..
set Movies=0
CD win
GOTO Moviesdone
-16
View File
@@ -1,16 +0,0 @@
:Top
echo off
cls
:MAINMENU choose option from menu
set /p userinp=Enter the full group name you would like to backfill, or to default to all groups, simply press enter:
set userinp=%userinp%
if "%userinp%"=="" goto All
:SINGLE
CD..
php.exe backfill.php "%userinp%"
:ALL
CD..
php.exe backfill.php
-3
View File
@@ -1,3 +0,0 @@
CD..
php.exe update_binaries.php
quit
-3
View File
@@ -1,3 +0,0 @@
CD..
php.exe update_releases.php
quit