Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bram Daams
sch
Commits
9e5b9f4b
Commit
9e5b9f4b
authored
Feb 07, 2020
by
Bram Daams
Browse files
note about fqdn
parent
66c0d5cb
Pipeline
#37768
passed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9e5b9f4b
...
@@ -131,3 +131,28 @@ $ flake8 *py
...
@@ -131,3 +131,28 @@ $ flake8 *py
### References
### References
*
python-crontab
<https://pypi.org/project/python-crontab/>
*
python-crontab
<https://pypi.org/project/python-crontab/>
*
crab
<https://github.com/grahambell/crab>
*
crab
<https://github.com/grahambell/crab>
## Notes
### fully qualified domain name
`sch`
uses the FQDN to identify the hosts it's running on. You can check the FQDN with:
```
console
$
hostname
--fqdn
host.example.com
```
However, on some systems that don't know the domain part, it just returns the
(short) hostname instead:
```
console
$
hostname
--fqdn
host
```
If this is the case, you can fix that by editing the
`/etc/hosts`
file so look
like this:
```
127.0.0.1 localhost
127.0.1.1 host.example.com host
```
Afterwards
`hostname --fqdn`
should return the FQDN. Beware that
`sch`
will
create new checks when the FQDN changes.
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment