# Will the Xenons and Argon continue to execute my program if Wifi drops out for days on end?

**URL:** <https://community.particle.io/t/will-the-xenons-and-argon-continue-to-execute-my-program-if-wifi-drops-out-for-days-on-end/47096>\
**Category:** BLE // NFC\
**Tags:** argon, xenon\
**Created:** [January 18, 2019, 12:04am UTC](https://community.particle.io/t/will-the-xenons-and-argon-continue-to-execute-my-program-if-wifi-drops-out-for-days-on-end/47096 "2019-01-18T00:04:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [January 18, 2019, 12:12am UTC](https://community.particle.io/t/will-the-xenons-and-argon-continue-to-execute-my-program-if-wifi-drops-out-for-days-on-end/47096/2 "2019-01-18T00:12:04Z")

</div>

Yes, if you change from the default mode. The easiest solution is to use:

```auto
SYSTEM_THREAD(ENABLED);

```

which allows your code to run even when there is no cloud connectivity. There are a few caveats, most importantly you should [avoid calling Particle.publish when not cloud connected](https://community.particle.io/t/particle-publish-and-blocking/42022) to avoid blocking for several minutes in certain cases.

---

_[View the full topic](https://community.particle.io/t/will-the-xenons-and-argon-continue-to-execute-my-program-if-wifi-drops-out-for-days-on-end/47096)._
