summaryrefslogtreecommitdiff
path: root/tests/periodic.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-12-18 15:17:09 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-12-18 15:17:09 -0500
commit541a15124e163ce8aff94bf37f24c54085c19884 (patch)
tree3f41e8cb1cc8bb5b84384840ebdf5b296e0c1732 /tests/periodic.ur
parent39cd3aba26129807a15ccc29bb9f71e2537c4551 (diff)
Periodic tasks
Diffstat (limited to 'tests/periodic.ur')
-rw-r--r--tests/periodic.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/periodic.ur b/tests/periodic.ur
new file mode 100644
index 00000000..baf49b3b
--- /dev/null
+++ b/tests/periodic.ur
@@ -0,0 +1,4 @@
+task periodic 5 = fn () => debug "Every 5 seconds"
+task periodic 13 = fn () => debug "Every 13 seconds"
+
+fun main () : transaction page = return <xml/>