Check via timestamp file, if a webpage is synced
This script downloads a given file from a webserver and compared the
timestamp in the file with the current time.
That allows to validate for example if the directory on the webserver
is synced often enough with the real source.
All that's needed for this script is a file that contains (in the first
body line) a timestamp in the form $(date +"%Y-%m-%d %H:%M:%%S"), for
example:'2017-11-25 20:00:00'. This line will be compared with the
current time.
- Sources inherited from project server:monitoring
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:ioguix:check_pgactivity/monitoring-plugins-webpage_sync && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
check_webpage_sync | 0000004961 4.84 KB | |
monitoring-plugins-webpage_sync-rpmlintrc | 0000000025 25 Bytes | |
monitoring-plugins-webpage_sync.changes | 0000000317 317 Bytes | |
monitoring-plugins-webpage_sync.spec | 0000001937 1.89 KB |
Latest Revision
Lars Vogdt (lrupp)
committed
(revision 5)
- update to 0.3: + enhanced help text
Comments 0