view tests/periodic.ur @ 1978:c5143edaf3c7

Declare datetimeDayOfWeek in urweb_cpp.h.
author Patrick Hurst <phurst@mit.edu>
date Mon, 09 Dec 2013 20:41:24 -0500
parents 87156c44824f
children
line wrap: on
line source
task periodic 5 = fn () => debug "Every 5 seconds"
task periodic 13 = fn () => debug "Every 13 seconds"

fun main () : transaction page = return <xml/>