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
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

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

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

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

Subject: Automatic schedule to run WEAP   
Posted: 11/17/2015 Viewed: 14775 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

Mr. Jack Sieber

Subject: Re: Automatic schedule to run WEAP   
Posted: 11/17/2015 Viewed: 14774 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
Dr. Chusit Apirumanekul

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

Thank you for your suggestions. It is very helpful.

Chusit
Topic "Automatic schedule to run WEAP"