<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><font size="4">I should add: the
        'download' is non-blocking. As you can see in the example below
        they run in parallel:<br>
      </font><br>
      <font face="monospace">11Mar2023@20:24:00 (cron) cron: UTC 24 20
        11 3 6 -> doing 'run_cmd('download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a>')'<br>
        11Mar2023@20:24:00 (cron) DXCron::run_cmd: download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a><br>
        11Mar2023@20:24:00 (*) download: url
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a><br>
        11Mar2023@20:24:00 (progress) CMD: 'download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torexit">http://www.dxspider.net/download/badip.torexit</a>' by GB7TLH ip:
        127.0.0.1 2mS<br>
        11Mar2023@20:24:00 (cron) cron: UTC 24 20 11 3 6 -> doing
        'run_cmd('download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a>')'<br>
        11Mar2023@20:24:00 (cron) DXCron::run_cmd: download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a><br>
        11Mar2023@20:24:00 (*) download: url
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a><br>
        11Mar2023@20:24:00 (progress) CMD: 'download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.torrelay">http://www.dxspider.net/download/badip.torrelay</a>' by GB7TLH ip:
        127.0.0.1 1mS<br>
        11Mar2023@20:24:00 (cron) cron: UTC 24 20 11 3 6 -> doing
        'run_cmd('download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a>')'<br>
        11Mar2023@20:24:00 (cron) DXCron::run_cmd: download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a><br>
        11Mar2023@20:24:00 (*) download: url
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a><br>
        11Mar2023@20:24:00 (progress) CMD: 'download
        <a class="moz-txt-link-freetext" href="http://www.dxspider.net/download/badip.global">http://www.dxspider.net/download/badip.global</a>' by GB7TLH ip:
        127.0.0.1 1mS<br>
        11Mar2023@20:24:00 (progress) download:
        /spider/local_data/badip.global successfully downloaded<br>
        11Mar2023@20:24:00 (progress) download:
        /spider/local_data/badip.torexit successfully downloaded<br>
        11Mar2023@20:24:00 (progress) download:
        /spider/local_data/badip.torrelay successfully downloaded<br>
      </font><br>
      <font size="4">Given that sysops are successfully running the mojo
        branch on Windows (apart from spawning commands), I believe this
        will work identically there as well.</font><br>
      <br>
      On 11/03/2023 22:54, Dirk Koopman via Dxspider-support wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c39cfcd3-4433-c0c3-680d-af6649adca72@tobit.co.uk">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <font size="4">I have just pushed new DXSpider command 'download',
        it is a bit experimental, but I have been using it successfully
        in a few places. There may be additional facilities added to it
        based on demand. Here is what the Changes file says (can't be
        bothered to type it all out again):<br>
        <font face="monospace"><br>
          1. I am aware that there are windows nodes out there on mojo
          (brave, impetuous <br>
             that you are) and wget is not an easy option to download
          badip files. So, <br>
             through the power of mojo I give you the new 'download'
          command. As it <br>
             stands at the moment, it will download a file from a
          webserver and place<br>
             it in /spider/local_data. If it downloads successfully, it
          will overwrite<br>
             any file with that name in /spider/local_data. Needless to
          say this is a <br>
             sysop only command. <br>
          <br>
          24 * * * * run_cmd('download <a class="moz-txt-link-freetext"
            href="http://www.dxspider.net/download/badip.torexit"
            moz-do-not-send="true">http://www.dxspider.net/download/badip.torexit</a>')<br>
          24 * * * * run_cmd('download <a class="moz-txt-link-freetext"
            href="http://www.dxspider.net/download/badip.torrelay"
            moz-do-not-send="true">http://www.dxspider.net/download/badip.torrelay</a>')<br>
          24 * * * * run_cmd('download <a class="moz-txt-link-freetext"
            href="http://www.dxspider.net/download/badip.global"
            moz-do-not-send="true">http://www.dxspider.net/download/badip.global</a>')<br>
          25 * * * * run_cmd('load/badip')<br>
          <br>
             would be an obvious use. But it can also be used to
          download spot, USDB <br>
             and other data as well. If you do use it then you will
          still need to <br>
             do a spawn_cmd in crontab for the conversion programs, but
          that too is <br>
             going to change.<br>
        </font><br>
        You don't need to restart, everything it does is in the command.
        <br>
        <br>
        Enjoy<br>
        <br>
        Dirk G1TLH<br>
      </font> <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dxspider-support@tobit.co.uk">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>