From 4492c5cfbe0e99666afed6780b674beaa670d1a1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 23 Nov 2018 09:27:06 -0800 Subject: [bash] Let's try to use emacs tty --- playgrounds/aurora/hello-job.aurora | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 playgrounds/aurora/hello-job.aurora (limited to 'playgrounds/aurora/hello-job.aurora') diff --git a/playgrounds/aurora/hello-job.aurora b/playgrounds/aurora/hello-job.aurora new file mode 100644 index 0000000..a825fdb --- /dev/null +++ b/playgrounds/aurora/hello-job.aurora @@ -0,0 +1,22 @@ +hello_date = Process( + name='hello-date', + cmdline='while true; do date; sleep 10; done' +) + +jobs = [ + Service( + cluster='smf1', + environment='devel', + role='fcuny', + name='hello-date', + task=Task( + processes=[hello_date], + resources=Resources(cpu=10, ram=1024 * MB, disk=512 * MB) + ), + instances=1, + constraints={ + 'host': 'smf1-fki-16-sr1', + 'dedicated': '*/manhattan', + } + ) +] -- cgit 1.4.1