Joost Miltenburg Posted September 21, 2009 Posted September 21, 2009 (edited) I am trying to get some experience with FMS running a server side script. I am using the mail.it plugin to read emails from some email accounts. When the script starts running is set a timestamp field with Get ( CurrentTimestamp ). While running I test if the script has been running for more than 5 minutes [ Minute( Get ( CurrentTimeStamp ) - MESSAGE::_g_timestamp_start ) > 5 ]. The script is running, but isn't getting any emails into the file. Not OK, but shouldn't the script be stopping after 5 minutes ? Should I run a registration ( of the plugin ) script before doing the rest ? And if so, I did the script run well in the past ? TIA Edited September 21, 2009 by Guest
Joost Miltenburg Posted September 21, 2009 Author Posted September 21, 2009 I figure it was the plugin registration string. Strange as I did have it running well earlier without the string. Maybe because had a client running on the server, which had already registered the plugin.
bcooney Posted September 21, 2009 Posted September 21, 2009 Remember server opens the file each time it runs a script (and runs your Startup script). So, you'd have to include in the server script all global sets and plugin registration.
Recommended Posts
This topic is 5541 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 accountSign in
Already have an account? Sign in here.
Sign In Now