/etc/cron.hourly/logrotate
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.hourly.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
| <?xml version="1.0" encoding="utf-8"?> | |
| <profiles version="21"> | |
| <profile kind="CodeFormatterProfile" name="PlaytomicJavaStyle" version="21"> | |
| <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/> | |
| <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/> | |
| <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/> | |
| <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/> | |
| <setting id="org.eclipse.jdt.core.formatter.text_block_indentation" value="0"/> | |
| <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/> | |
| <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/> |
| 'use strict'; | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const { Writable } = require('stream'); | |
| class JSONToFiles extends Writable { | |
| constructor (options, params) { | |
| super(options); |
/etc/cron.hourly/logrotate
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.hourly.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
I hereby claim:
To claim this, I am signing this object: