Jump to content

Halt Server scheduled script from OnWindowOpen


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

Recommended Posts

Hi all

My scheduled server scripts call up my onwindowopen startup script, which is great. I specify that the startup script exits if it is being run from the server. The actual scheduled script then runs fine.

However I don't want any of my scheduled scripts to run if the plugins are not enabled on the server. I thought I could achieve this by utilising the 'halt' script step on the startup script in the event that the plugins were found not to be enabled.

While it does halt the startup script, it does not also halt the script that called it up (the scheduled script).

I'm guessing though that this is because the scheduled script has not actually 'called' the startup script.

Should it work the way I expected? Or is there a way to disable the running of scheduled scripts without having to specify in each individual one that they should not run if there is no plugin.

MT

Link to comment
Share on other sites

This topic is 2339 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.