Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonots/cronable_tail
A tail command which continues to read a file from the previously loaded line in the next execution
https://github.com/sonots/cronable_tail
Last synced: 2 days ago
JSON representation
A tail command which continues to read a file from the previously loaded line in the next execution
- Host: GitHub
- URL: https://github.com/sonots/cronable_tail
- Owner: sonots
- Created: 2013-02-05T05:36:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-06T22:55:43.000Z (almost 12 years ago)
- Last Synced: 2025-01-11T14:16:19.680Z (9 days ago)
- Language: Shell
- Size: 117 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cronable_tail
crontable_tail is a shell script to read log files in tail. It memorizes the line number which previously loaded, and continues reading from the next line on the next execution.
Furthermore, this script supports reading logrotated log files such as
/var/log/syslog.20130130
/var/log/syslog.20130131This script reads the newly generated file too if such a file exists.
# Copyright
- Copyright (c) 2013- SEO Naotoshi (sonots)
- License: MIT License