AutoRefreshed[expr]
represents an expression to be reevaluated every hour and made available in the cloud.
AutoRefreshed[expr,dt]
reevaluates at time interval dt.
AutoRefreshed[expr,timespec]
reevaluates on the schedule specified by timespec.
AutoRefreshed[expr,timespec,fmt]
specifies that the result from evaluating expr should be given in format fmt.
AutoRefreshed[expr,timespec,{fmt,rform}]
specifies that the result should be given as a response of the form rform.
AutoRefreshed
AutoRefreshed[expr]
represents an expression to be reevaluated every hour and made available in the cloud.
AutoRefreshed[expr,dt]
reevaluates at time interval dt.
AutoRefreshed[expr,timespec]
reevaluates on the schedule specified by timespec.
AutoRefreshed[expr,timespec,fmt]
specifies that the result from evaluating expr should be given in format fmt.
AutoRefreshed[expr,timespec,{fmt,rform}]
specifies that the result should be given as a response of the form rform.
Details
- AutoRefreshed is typically used with CloudDeploy to create a cloud object whose content is automatically updated on a schedule.
- timespec follows the specification for scheduled tasks.
- Possible result formats fmt in AutoRefreshed[expr,fmt] are:
-
"fmt" any format supported by ExportForm fun an arbitrary function to be applied to expr - AutoRefreshed[expr,"fmt"] is equivalent to AutoRefreshed[ExportForm[expr,"fmt"]].
- AutoRefreshed objects may be removed using DeleteObject or TaskRemove.
Examples
open all close allBasic Examples (5)
Deploy a time stamp that updates once per hour:
o = CloudDeploy[AutoRefreshed[Now]]DeleteObject[o]Sample the air pressure once per hour:
o = CloudDeploy[AutoRefreshed[AirPressureData[], "Hourly"]]DeleteObject[o]Sample the air pressure every three hours:
o = CloudDeploy[AutoRefreshed[AirPressureData[], Quantity[3, "Hours"]]]DeleteObject[o]Deploy a moon phase icon that updates daily:
o = CloudDeploy[AutoRefreshed[MoonPhase["Icon"], "Daily", "PNG"]]DeleteObject[o]Sample the air pressure hourly as text, while showing the EvaluationData as JSON:
o = CloudDeploy[AutoRefreshed[AirPressureData[], "Hourly", {"Text", "JSON"}]]DeleteObject[o]Possible Issues (1)
When AutoRefreshed is evaluated in the cloud, it has restrictions on memory usage and evaluation time. The limitations are determined by your cloud plan, and the amounts can be found in CloudAccountData as "ScheduledTaskMemoryLimit" and "ScheduledTaskEvaluationTimeLimit":
CloudAccountData /@ {"ScheduledTaskMemoryLimit", "ScheduledTaskEvaluationTimeLimit"}Related Guides
History
Text
Wolfram Research (2015), AutoRefreshed, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoRefreshed.html.
CMS
Wolfram Language. 2015. "AutoRefreshed." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AutoRefreshed.html.
APA
Wolfram Language. (2015). AutoRefreshed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutoRefreshed.html
BibTeX
@misc{reference.wolfram_2026_autorefreshed, author="Wolfram Research", title="{AutoRefreshed}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AutoRefreshed.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_autorefreshed, organization={Wolfram Research}, title={AutoRefreshed}, year={2015}, url={https://reference.wolfram.com/language/ref/AutoRefreshed.html}, note=[Accessed: 13-June-2026]}