-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
70 lines (42 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
webcron
=======
Current release: 0.1.1
Description
-----------
Webcron is a systemd timer that calls remote URLs at defined time
periods, basically acting as a web cron job service. Webcron is simple
and easy to set up.
Installation
------------
Requirements:
- systemd
- Bash compatible shell
Installing:
make install
Run 'make help' for more options.
Documentation
-------------
Webcron requires a configuration file containing a list of URLs to call.
Configuration files are read from `/etc/webcron` directory and are named
by the time period they are run. URLs are listed one per line.
For example, creating a daily cron job that will call `example.com`
requires `/etc/webcron/daily.conf` file with one `https://example.com`
URL entry and, enabled and started `webcron@daily.timer` systemd unit.
Webcron will record the called URL HTTP status into systemd journal.
Webcron doesn't support URL redirects and only HTTP 200 status is
considered successfull.
For easy set up, webcron already comes with empty configuration files
named by systemd calendar event shorthands. Check `systemd.time(7)` for
more information on allowed expressions.
Contributing
------------
Open an issue or send a pull request on the Github
(http://github.com/loonies/webcron).
Authors
-------
Maintainer:
- Miodrag Tokić
Copyright
---------
Copyright (C) 2019 Miodrag Tokić.
Released under the MIT License. See the LICENSE file for details.