Save Values Between Scheduled Runs

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
fthomas
Pro Scripter
Posts: 91
Joined: Fri Oct 03, 2008 6:40 pm

Save Values Between Scheduled Runs

Post by fthomas » Fri Aug 29, 2014 3:15 pm

Good day guys,

I think I may know the answer, but I'd like to hear from the pro's here. I want to run an automation sequence hourly that looks for problems. Now, I need to save previous variables to only alert me if it sees the same problem three times in a row, let's say.

Is the best way to do this with a simple text file in the filesystem? Or is there a cleaner way to save variables between scheduled runs of a script?

Thanks!

Frank

fthomas
Pro Scripter
Posts: 91
Joined: Fri Oct 03, 2008 6:40 pm

Re: Save Values Between Scheduled Runs

Post by fthomas » Fri Aug 29, 2014 5:31 pm

I believe that I've found the answer to my own questions in this regard. I came across the ability to manipulate .ini files and decided that this was the best course of action.

Cheers,

Frank

fthomas
Pro Scripter
Posts: 91
Joined: Fri Oct 03, 2008 6:40 pm

Re: Save Values Between Scheduled Runs

Post by fthomas » Fri Aug 29, 2014 8:36 pm

Marcus I wanted to add that the .ini handling is truly magic!! Fantastic feature in macro scheduler!!

Thanks!

Frank :D

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Save Values Between Scheduled Runs

Post by Marcus Tettmar » Tue Sep 02, 2014 4:37 pm

Thanks! Glad to hear it has been useful! :-)
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts