Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1181 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

 I have recently moved my 360works email to the server and am trying to run the email script on the server side. It didn't seem to work although it did say it "succeeded". I did have some import steps from one table to another which I learned doesn't work on the server (that will be a separate topic) so I stripped all the parsing and importing parts of the script and just left section that downloads the emails and creates new records in an email table I have. 

I scheduled it to run several times a day and it ran well the first time but then the second time it ran for about a minute and said "succeeded" but did not download any emails. I stopped the server and restarted as I thought maybe I edited the script before the second running. And it ran fine the first time then did the same thing the second. 

Every time I restart the server it runs fine, but only once. The second scheduled time it says it ran successfully but no emails. When I look in the event log, I see a lot of entries when it runs correctly recording various stages but when it doesn't I get 4 lines.

2021-08-26 06:00:00.381 -0700    Information    148    FTSI-FMS-VM    Schedule "Download Emails 6am" running.
2021-08-26 06:00:00.381 -0700    Information    689    FTSI-FMS-VM    Schedule "Download Emails 6am" has started FileMaker script "Fetch Messages Server".
2021-08-26 06:00:01.663 -0700    Information    150    FTSI-FMS-VM    Schedule "Download Emails 6am" completed.
2021-08-26 06:00:01.663 -0700    Information    126    FTSI-FMS-VM    Schedule "Download Emails 6am" scheduled for 08/27/2021 06:00 AM.

Below I have attached a screen shot of the script. If anyone can help shed any light on why it would run ok the first time but not the second, please let me know. Thanks in advance, hopefully it's something simple that I just don't know about. 

 

Mike

 

image.thumb.png.dfd18e01de32ad3725b54103f5a77a6f.png

 

 

Posted

Please ignore the above post and forgive me my ignorance. 

I did not set a script line to register the plugin. My schedule ran it every 3 hours which is the time limit of the plugin's free version. If you restart the server/machine, it resets the clock and gives you another 3 hours. I added the line to register email when it runs the script and it is now working perfectly

This topic is 1181 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.