Skip to content
Snippets Groups Projects
Commit 753c8876 authored by Nikolai Hartmann's avatar Nikolai Hartmann
Browse files

Merge branch 'master' into vp

parents 52f4286c 22b8a2c3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
lastbeat=$(journalctl -eu xcache-vp-heartbeat.service | grep OK | awk '{print $1}')
lastbeat=$(journalctl -eu xcache-vp-heartbeat.service | grep OK | awk '{print $1" "$2" "$3}' | tail -n 1)
lastbeat=$(date --date="$lastbeat" "+%s")
now=$(date "+%s")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment