![]() |
|
|
#78 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×5×7×139 Posts |
Quote:
One thing though... I found that just letting the script run with the default association (perl.exe) caused a DOS window to pop up for a split second. If, however, you use "wperl.exe submit_spider.pl" in the WinBlows Task Scheduler, no such window appears. |
|
|
|
|
|
|
#79 | |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23×271 Posts |
Quote:
![]() P.S.: I use a script that automatically launches that when it detects a results.txt in one or two of my selected directories (in my script) |
|
|
|
|
|
|
#80 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
|
|
|
|
|
|
#81 |
|
"Mr. Meeseeks"
Jan 2012
California, USA
41708 Posts |
It's a bat script... (only windows)... and the script is rough.... give me...a...few...
![]() ![]() ![]() How many "workers" should I make it support? (max) Last fiddled with by kracker on 2012-06-19 at 02:19 |
|
|
|
|
|
#82 | |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Quote:
I attached my submit.bat file (rename to .bat), so you can see it. If you have any questions, let me know. Windows Task Scheduler just runs submit.bat every hour. BTW - I use ActivePerl Last fiddled with by flashjh on 2012-06-19 at 03:21 |
|
|
|
|
|
|
#83 | |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23·271 Posts |
Quote:
Ah... your's look much better than mine... I'll add ethernet support. P.S.: MY script is simple really, maybe too simple... what it does is looks for a "results.txt in several directories every x often, then if it finds it it executes the submit perl script.... then all over again... |
|
|
|
|
|
|
#84 |
|
"Mr. Meeseeks"
Jan 2012
California, USA
1000011110002 Posts |
Oh, I forgot to post it....
Code:
@echo off ### Settings. ### \ or /. C:/blah/blah or C:\blah\blah. set sh=\ ### Set title. Useless... set title= ### set mfak* dirs here. set dir1=C:\xxxx\x\mfakto set dir2=C:\xxxx\x\mfakto-2 ### Define time between checks in seconds. set time=500 ### End Settings. title %title% cls Goto 1 :loop timeout /t %time% /nobreak > NUL :1 IF EXIST %dir1%%sh%results.txt cd %dir1%&&perl %dir1%%sh%submit.pl :2 IF EXIST %dir2%%sh%results.txt cd %dir2%&&perl %dir2%%sh%submit.pl :3 IF EXIST %dir3%%sh%results.txt perl %dir3%%sh%submit.pl :4 IF EXIST %dir4%%sh%results.txt perl %dir4%%sh%submit.pl goto loop :kitchensink #set /p dir3= #set /p dir4=
Last fiddled with by kracker on 2012-06-21 at 17:00 |
|
|
|
|
|
#85 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Last fiddled with by Dubslow on 2012-06-21 at 17:45 |
|
|
|
|
|
#86 |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23×271 Posts |
|
|
|
|
|
|
#87 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
|
|
|
|
|
|
#88 | |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23·271 Posts |
Quote:
![]() ![]() ![]() ![]() ![]() P.S.: I do love kitties. Last fiddled with by kracker on 2012-06-21 at 18:18 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GPU to 72 spider poaching exponents? | ixfd64 | GPU to 72 | 2 | 2014-07-27 20:38 |
| It Seems The Great Spider ... | Dubslow | Forum Feedback | 13 | 2012-06-01 13:39 |
| Automatic temperature control | TObject | Software | 13 | 2012-04-27 19:33 |
| Went from 8 workers to 4 workers on v26.6 upgrade | dmoran | Software | 13 | 2011-05-23 12:36 |
| Manual submission of automatic assignment result | tichy | PrimeNet | 4 | 2010-12-17 09:57 |