Every 70 seconds scrapebox inputs the good proxies into a file, any file I want, call it first.txt. So first.txt say has 5 lines of proxies.  The 70 seconds later, it copies over the previous 5 proxie

curious stuff
curious stuff used Ask the Experts™
on
Every 70 seconds scrapebox inputs the good proxies into a file, any file I want, call it first.txt. So first.txt say has 5 lines of proxies.
The 70 seconds later, it copies over the previous 5 proxies and puts however many it found, say it was 10.
So first.txt has only 10 proxies, but the first 5 are gone.
So I wanted to copy those proxies every 70 seconds and add them to a second file and combine them with the first file.
So then I will have 15 proxies
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014

Commented:
This is a strange requirement.  What is the context/nature of the problem to be solved?

Author

Commented:
I want to copy the proxies from scrapebox that autmatically gets saved in a text file and proxies are replaced in same file after every 70 seconds, so i want to copy  the data and append it to a new file after every time data gets replaced in source file in every 70 seconds.

Author

Commented:
Sir, here is what i want.Every 70 seconds scrapebox inputs the good proxies into a file, any file I want, call it first.txt. So first.txt say has 5 lines of proxies.
The 70 seconds later, it copies over the previous 5 proxies and puts however many it found, say it was 10.
So first.txt has only 10 proxies, but the first 5 are gone.
So I wanted to copy those proxies every 70 seconds and add them to a second file and combine them with the first file.
So then I will have 15 proxies
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Top Expert 2014

Commented:
Then it seems simpler to create an every minute scheduled task to do a copy (append).  No need for script coding required.

Author

Commented:
How can i create an every minute task to append the file?
IT / Software Engineering Consultant
Top Expert 2016
Commented:
Here is the basic approach to do what aikimark suggested.  Replace my test file paths for the two file names (full paths) in the arguments.

Start the "Task Scheduler"
Action -> Create Task...
General tab:
      Name: <give it a name>
      Hidden: Yes
Triggers tab:
      New...
      One time
      Repeat task every: type "1 minutes" into the drop down box
      Enabled
      (no expiration)
Actions tab:
      New...
      Program/script: cmd
      Add arguments: /c type "B:\EE\EE29129705\first.txt" >> "B:\EE\EE29129705\all.txt"

Save it, and run it manually once to start it off, it will then run every minute.


»bp
Top Expert 2014

Commented:
Thanks, Bill

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial