Welcome to WEAP's Website
WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Applications
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos
Resources

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us


Environmental News
LEAP
Interested in Energy?
Read about LEAP: SEI's software for energy planning.

User Forum

All Topics | Topic "Automatic schedule to run WEAP"
Log in to post new messages or reply to existing messages.
 
Author Message
Chusit Apirumanekul

Subject: Automatic schedule to run WEAP   
Posted: 11/17/2015 Viewed: 3186 times
Dear WEAP user,

I have updated data from the field very Fridays and I want my machine to run WEAP every Fridays for operational purpose. Is there any way to write a script to run WEAP based on identified schedule?

Thank you very much.
Best,
Chusit

Jack Sieber

Subject: Re: Automatic schedule to run WEAP   
Posted: 11/17/2015 Viewed: 3185 times
Dear Chusit,

You can use the Windows Task Scheduler to schedule a script to run every Friday. The script could be a Visual Basic Script (VBS), JavaScript, Python or Perl and any other ActiveScript language that you could use to automate WEAP, including changing data, calculating and exporting results. See http://www.weap21.org/WebHelp/API.htm for information about automating WEAP, and http://www.weap21.org/WebHelp/Scripting.htm for help on writing scripts.

Jack
Chusit Apirumanekul

Subject: Re: Automatic schedule to run WEAP   
Posted: 11/17/2015 Viewed: 3182 times
Dear Jack,

Thank you for your suggestions. It is very helpful.

Chusit
Topic "Automatic schedule to run WEAP"