You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The other cron scripts seems to take a whole other form than that particular script, and I think that created redundant logs from CRON compared to the other ones.
My issue is really that the frequent snapshots seems to create syslogs like
I may be in the wrong (since the number of entries in the log is overwhelmingly of the frequent ones in any case, which makes it slightly hard to read exhaustively) but I think this is the case.
So... Could we restructure the scripts somehow to make the logging smoother...?
(I'm looking at the output of grep -i "zfs" /var/log/syslog)
The text was updated successfully, but these errors were encountered:
lindhe
changed the title
Why is zfs-auto-snapshot.cron.frequent so different from the others?
Redundant logs from zfs-auto-snapshot.cron.frequent compared to the others
Jul 9, 2017
That's an artifact of its invocation ("frequent" uses /etc/cron.d/zfs-auto-snapshot and runs from a crontab entry in order to specify its nonstandard schedule (take a peek!), the others run via anacron or else run-parts in /etc/cron.$schedule/zfs-auto-snapshot, which is a script rather than a crontab). Explicit cron jobs are logged as cron runs them.
As a "solution" to this, these snapshots could instead be implemented with some sleep calls inside the hourly script, but that's a hack and it won't start until the hourly script is first run after boot. That sounds quite suboptimal.
The other cron scripts seems to take a whole other form than that particular script, and I think that created redundant logs from CRON compared to the other ones.
My issue is really that the frequent snapshots seems to create syslogs like
while the other scripts simply cause
I may be in the wrong (since the number of entries in the log is overwhelmingly of the frequent ones in any case, which makes it slightly hard to read exhaustively) but I think this is the case.
So... Could we restructure the scripts somehow to make the logging smoother...?
(I'm looking at the output of
grep -i "zfs" /var/log/syslog
)The text was updated successfully, but these errors were encountered: