Search found 24 matches
- Tue Feb 09, 2016 10:11 pm
- Forum: Technical / Scripting
- Topic: can a script overlap itself from a folder trigger?
- Replies: 2
- Views: 3725
Re: can a script overlap itself from a folder trigger?
Makes perfect sense, thanks!
- Mon Feb 01, 2016 9:49 pm
- Forum: Technical / Scripting
- Topic: can a script overlap itself from a folder trigger?
- Replies: 2
- Views: 3725
can a script overlap itself from a folder trigger?
I have a "new file in folder" trigger on a script. Script is roughly: get list of files in folder verify the file name is correct for our purposes email the file wait 7 seconds (we recently added this to give users time to close the file so it won't be locked) move the file from current folder to ba...
- Fri May 15, 2015 1:24 pm
- Forum: Technical / Scripting
- Topic: FTPPut
- Replies: 2
- Views: 5509
Re: FTPPut
I switched on passive mode and got it to work. Not sure what passive mode is or does but got it running through trial and error.
- Thu May 14, 2015 3:22 pm
- Forum: Technical / Scripting
- Topic: FTPPut
- Replies: 2
- Views: 5509
Re: FTPPut
ok, error on my part. Was pulling from the wrong folder. Now I get the following
Connected
Connection established
Starting FTP transfer
Transfer complete
"550-I/O Error: java.net.ConnectException: Connection refused: connect"
Connected
Connection established
Starting FTP transfer
Transfer complete
"550-I/O Error: java.net.ConnectException: Connection refused: connect"
- Thu May 14, 2015 3:10 pm
- Forum: Technical / Scripting
- Topic: FTPPut
- Replies: 2
- Views: 5509
FTPPut
I'm trying to get FTPPutFile to work and I'm having some issues. Here's the script Let>IGNORESPACES=1 Let>strFileName=\\file-print\shared\CHRLoadTenders\166516.txt FTPPutFile>ftp-test.partnerdomain.com,myusername,passwordcontains)(,21,%strFileName%,To_CHR,,A MessageModal>FTP_RESULT Note that the pas...
- Wed Apr 22, 2015 3:48 pm
- Forum: Technical / Scripting
- Topic: moving a file - file in use
- Replies: 1
- Views: 2164
moving a file - file in use
I have a script that's moving files. Occasionally the file being moved is in use and the move doesn't happen. How can I monitor for an "in use" error so I can deal with these exceptions?
Thanks
Thanks
- Tue Apr 10, 2012 4:59 pm
- Forum: General Discussion
- Topic: monitoring for errors via email?
- Replies: 8
- Views: 14546
- Tue Apr 10, 2012 4:48 pm
- Forum: General Discussion
- Topic: monitoring for errors via email?
- Replies: 8
- Views: 14546
- Tue Apr 10, 2012 2:25 pm
- Forum: General Discussion
- Topic: monitoring for errors via email?
- Replies: 8
- Views: 14546
The script in question examines the contents of a shared network folder, moves files from that folder to a different shared network folder, inserts a row into a sql server table and uses the macro scheduler smtpsendmail command to email a copy of the file to a user. I suspect the error might be in m...
- Mon Apr 09, 2012 5:27 pm
- Forum: General Discussion
- Topic: monitoring for errors via email?
- Replies: 8
- Views: 14546
monitoring for errors via email?
I have a script on a trigger of "new file in folder" running on an unattended PC. Occassionaly I get an error but by the time I get to looking at the PC, there is a generic "time out waiting for user input" or something like that. Any way to have all errors sent immediately via email? Any other idea...
- Thu Feb 23, 2012 11:13 pm
- Forum: General Discussion
- Topic: In what environment will Macro Scheduler run best?
- Replies: 1
- Views: 8706
In what environment will Macro Scheduler run best?
I have a few scripts running on my machine in a "beta" mode. They are working well. Now I want to move them to a different machine that will run the scripts non-stop throughout the day. Is there an optimal configuration for a Macro Scheduler unattended PC? Should I turn off automatic windows updates...
- Tue Sep 16, 2008 2:09 pm
- Forum: General Discussion
- Topic: ado connection time out
- Replies: 1
- Views: 4451
ado connection time out
Using v9.1.03
I sometimes get a time out exception when opening an ado connection in the VB section of a script. I would like to either increase the connection time out or put in exception handling. Can you guide me or point me to to documentation on either option?
Thanks
I sometimes get a time out exception when opening an ado connection in the VB section of a script. I would like to either increase the connection time out or put in exception handling. Can you guide me or point me to to documentation on either option?
Thanks
- Mon Sep 17, 2007 8:54 pm
- Forum: Beginners
- Topic: using commas in the body of the SMTPSendMail command
- Replies: 5
- Views: 7811
using commas in the body of the SMTPSendMail command
I'm using a variable for the body in the SMTPSendMail command. There are commas in the string and everything after the first comma gets cut off. How can I keep the commas? Example: Let>bigbody=Please send me $1,500,000 in cash SMTPSendMail>To,Server,FromAddress,FromName,Subject,bigbody The body of t...
- Mon Aug 27, 2007 8:44 pm
- Forum: General Discussion
- Topic: RPC server not available
- Replies: 2
- Views: 6018
- Mon Aug 20, 2007 7:42 pm
- Forum: General Discussion
- Topic: RPC server not available
- Replies: 2
- Views: 6018
RPC server not available
I occasionally get the following error when running a script that is using IE:
RPC server not available.
When I get the error, Macro Scheduler seems to be running the script even though IE is not active. I stop the script and restart and all seems to be fine.
RPC server not available.
When I get the error, Macro Scheduler seems to be running the script even though IE is not active. I stop the script and restart and all seems to be fine.