# Example script for "refreshObject" and "getParameterValues"

**URL:** <https://forum.genieacs.com/t/example-script-for-refreshobject-and-getparametervalues/1615>\
**Category:** Uncategorized\
**Created:** [April 5, 2021, 10:03pm UTC](https://forum.genieacs.com/t/example-script-for-refreshobject-and-getparametervalues/1615 "2021-04-05T22:03:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigosoares](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@rodrigosoares](https://forum.genieacs.com/u/rodrigosoares)\
**Post date:** [April 5, 2021, 10:03pm UTC](https://forum.genieacs.com/t/example-script-for-refreshobject-and-getparametervalues/1615/1 "2021-04-05T22:03:17Z")

</div>

Hello colleagues,

I’m starting with GenieASC and I use this server for automation and management of network equipment.  
I am having problems and losing the parameters of the equipment every 24 hours for some unknown reason and I would like to create a script to be executed every 2 hours to obtain the main parameters.  
Can this script be configured in “virtual parameters”?

refreshObject  
getParameterValues

can anybody help me?

Thanks,

Rodrigo Soares

---

<div class="post-metadata">

**Author:** ![mjducharme](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/mjducharme/32/59_2.png) [@mjducharme](https://forum.genieacs.com/u/mjducharme)\
**Post date:** [April 6, 2021, 2:21am UTC](https://forum.genieacs.com/t/example-script-for-refreshobject-and-getparametervalues/1615/2 "2021-04-06T02:21:03Z")

</div>

I have no idea what you are talking about. What version of GenieACS are you running? How do they parameters “disappear” - can you share a screenshot to show what you mean?
