# Pushing specific parameters value

**URL:** <https://forum.genieacs.com/t/pushing-specific-parameters-value/2111>\
**Category:** Uncategorized\
**Created:** [October 19, 2021, 6:09pm UTC](https://forum.genieacs.com/t/pushing-specific-parameters-value/2111 "2021-10-19T18:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [November 1, 2021, 9:25pm UTC](https://forum.genieacs.com/t/pushing-specific-parameters-value/2111/9 "2021-11-01T21:25:05Z")

</div>

For the second param, you can also put in a path parameter. This will cause GenieACS to refresh the path if the timestamp is older than the given value.

```auto
const twoDaysAgo = Date.now() - (86400 * 2);
const oneDayAgo = Date.now() - 86400;

declare('Some.Path', { path: twoDaysAgo, value: oneDayAgo}, {value: 'someValue'});

```

This will cause GenieACS to refresh the path if its older than two days, or refresh the value if its older than 1 day.

---

_[View the full topic](https://forum.genieacs.com/t/pushing-specific-parameters-value/2111)._
