You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-11
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# A Cron Scheduler for Tutum
2
2
3
-
##Intro
3
+
##Intro
4
4
5
5
To use you simply need to add a link to each service you wish to schedule and then an environment variable that starts with the capitalized name of the service and which ends in _CRON_SCHEDULE, e.g.:
6
6
@@ -21,30 +21,32 @@ You'll also want to make sure you add the `global` role on tutum-cron:
21
21
22
22
Everything you really need to know is in the `tutum.yml` file, just take a look and you'll get the idea. So just press the button and get going:
23
23
24
-
[](https://dashboard.tutum.co/stack/deploy/)
24
+
[](https://cloud.docker.com/stack/deploy/)
25
+
26
+
27
+
## Schedules
25
28
26
-
27
-
##Schedules
28
-
29
29
Everything you need to know about scheduling can be found in the [fcrontab documentation](http://fcron.free.fr/doc/en/fcrontab.5.html) but simply you can use the cron syntax you are familiar with:
30
30
31
-
<pre><b>* * * * * *</b>
32
-
| | | | | |
31
+
```
32
+
* * * * * *
33
+
| | | | | |
33
34
| | | | | +-- Year (range: 1900-3000)
34
35
| | | | +---- Day of the Week (range: 1-7, 1 standing for Monday)
35
36
| | | +------ Month of the Year (range: 1-12)
36
37
| | +-------- Day of the Month (range: 1-31)
37
38
| +---------- Hour (range: 0-23)
38
-
+------------ Minute (range: 0-59)</pre>
39
+
+------------ Minute (range: 0-59)
40
+
```
39
41
40
42
You can of course use an online generator such as http://crontab-generator.org/ to help you along.
41
43
42
-
##Further Info
44
+
##Further Info
43
45
44
-
This scheduler uses [fcron](http://fcron.free.fr/doc/en/fcrontab.5.html) to schedule commands, fcron is great because like anacron it catches up with running services it misses while down. So it's totally okay to change the config and restart the server.
46
+
This scheduler uses [fcron](http://fcron.free.fr/doc/en/fcrontab.5.html) to schedule commands, fcron is great because like anacron it catches up with running services it misses while down. So it's totally okay to change the config and restart the server.
45
47
46
48
The base container uses work originally taken from https://github.com/just-containers/base-alpine credit to <John Regan>john@jrjrtech.com this provides us with the S6 supervisor which this image uses to run cron, dnsmasq and the main run.sh script.
47
49
48
50
The real base of this image though is [Alpine Linux](https://www.alpinelinux.org/) brought to Docker via [Glider Labs](http://gliderlabs.com/).
49
-
51
+
50
52
[](https://imagelayers.io/?images=vizzbuzz/tutum-cron:latest 'Get your own badge on imagelayers.io')
0 commit comments