Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by klubnl.pl (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id wA6JOCmS016445 for ; Tue, 6 Nov 2018 20:24:19 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1gK6qi-0007Le-E4 for rs_out_1@blacksheep.org; Tue, 06 Nov 2018 19:17:16 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1gK6qe-0007LV-Cd for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 19:17:12 +0000 Received: from mout3.freenet.de ([195.4.92.93]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91_59-0488984) (envelope-from ) id 1gK6qc-0003yP-7g for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 19:17:11 +0000 Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID dl4yhf@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gK6qW-0006gJ-Ft for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 20:17:04 +0100 Received: from [::1] (port=32888 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID dl4yhf@freenet.de) (Exim 4.90_1 #2) id 1gK6qW-0002OP-F4 for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 20:17:04 +0100 Received: from sub1.freenet.de ([195.4.92.120]:33586) by mjail1.freenet.de with esmtpa (ID dl4yhf@freenet.de) (Exim 4.90_1 #2) id 1gK6oE-0006aS-SZ for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 20:14:42 +0100 Received: from dslb-088-071-248-102.088.071.pools.vodafone-ip.de ([88.71.248.102]:59229 helo=[192.168.178.26]) by sub1.freenet.de with esmtpsa (ID dl4yhf@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1gK6oE-00033F-NF for rsgb_lf_group@blacksheep.org; Tue, 06 Nov 2018 20:14:42 +0100 To: rsgb_lf_group@blacksheep.org References: <9304bf91-afc4-02e5-1764-8410d11c0a48@n1bug.com> From: =?UTF-8?Q?Wolfgang_B=c3=bcscher?= Message-ID: Date: Tue, 6 Nov 2018 20:13:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <9304bf91-afc4-02e5-1764-8410d11c0a48@n1bug.com> Content-Language: en-US X-Originated-At: 88.71.248.102!59229 X-Spam-Score: -0.7 (/) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hello Paul, You could use the "conditional actions" to invoke the batchfile, and only set a flag (variable) in the "periodic actions". The "conditional actions" are quite versatile (you have timers there, etc etc) but compared to a real scripting language, a bit tedious to configure. [...] Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [195.4.92.93 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dl4yhf[at]freenet.de) X-Scan-Signature: 4c0633a540d76adc241b9d3cede72a57 Subject: Re: LF: SL FTP upload Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Hello Paul, You could use the "conditional actions" to invoke the batchfile, and only set a flag (variable) in the "periodic actions". The "conditional actions" are quite versatile (you have timers there, etc etc) but compared to a real scripting language, a bit tedious to configure. Details at    www.qsl.net/dl4yhf/speclab/perisced.htm#cond_actions A timer can be started anywhere (also in the "periodic actions"), and the "conditional actions" can be used to do whatever you like when the timer expires. There are twenty different timers that may run at the same time, so you could use one timer to wait a few seconds before uploading lf1.jpg, and some other time before uploading lf2.jpg. The timers are explained in the same document linked above, in the chapter about the conditional actions. All the best,   Wolf DL4YHF . On 06.11.2018 11:58, N1BUG wrote: > Hi LF, > > I am trying to set up two SpecLab instances as grabbers to monitor > the EU and NA LF QRSS windows, but I am having some problems with > FTP upload. > > Either SpecLab instance works fine by itself, calling ftp_up.bat > with either lf1.jpg or lf2.jpg parameter. But when I run two > instances, one using lf1.jpg, the other using lf2.jpg there are > problems related to both trying to run ftp_up.bat at the same time. > This creates random behavior, many FTP errors and usually only one > file makes it to the FTP server. > > I would like to have both SpecLab instances upload every 10 or 15 > minutes but I am not sure how to get around this problem. I could > rewrite ftp_up. bat to hard code the two file names and upload both > in one operation. This solves the log out of FTP server but not able > to log back in quickly enough. But it doesn't solve the problem of > both SpecLab instances trying to call ftp_up.bat at the same time. I > thought about having just one SpecLab instance calling ftp_up.bat > but I think this doesn't guarantee the other instance has yet > created the .jpg file to upload. > > Any ideas how to do this properly? Is there any way to insert a > delay of some seconds in the SpecLab periodic actions? Such as... > > capture lf2.jpg > wait for some seconds > call ftp_up bat > > ?? > > I will have some other questions about optimizing SpecLab parameters > for performance later. :) > > 73, > Paul >