July 17, 201510 yr Newbies does anyone know a scrip to run a scrip at certain time? i was able to use OnTimer Script but i can't make it run at time i want, example make ir run everyday at 7AM
July 17, 201510 yr That is not the intent for that function - that is to only run the script X seconds from the time it is triggered. To run a script at a specific time - you should really run it as a schedule on the server. The alternate is to use the FMP url schema that passes a parameter http://www.twdesigns.com/fmp_url_protocol/ then use some OS level cron or scheduler to execute that url. However there are several thing that could prevent he script from triggering.
July 17, 201510 yr Further to OW's suggestion. If you can't/won't run this as a scheduled script on FMS then FMP on both Windows and Mac allow for scripts to be run from the outside (through ActiveX on Windows and AppleEvents on Mac). Those give you much more control than just the "fire-and-pray" approach of the fmp protocol call... More work to be sure, but with that comes better control, more opportunities for error checking and handling.
Create an account or sign in to comment