This website requires JavaScript.
Explore
Help
Sign In
frodovdr
/
log2ram
Watch
1
Star
0
Fork
0
You've already forked log2ram
mirror of
https://github.com/azlux/log2ram.git
synced
2023-10-10 13:37:24 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
b45e8e95a6
log2ram
/
log2ram.hourly
4 lines
53 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Sync the ramlog back to disk, hourly. - Since the cron job could be called before the user reboots after install (or if log2ram is disabled), we check that the hdd log location exists before syncing. - Copy the log2ram.hourly sync script to cron's hourly directory on install.
2016-11-30 18:41:41 +01:00
#! /bin/sh
make hourly Cron job quiet otherwise, systems that are able to send mails would send the uninteresting output every hour to the admin
2017-07-25 10:05:03 +02:00
/usr/local/bin/log2ram write > /dev/null
Reference in New Issue
Copy Permalink