Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars

Archive for the 'Maintenance' Category

July 23rd, 2009 by Niels Horn in , , ,

As explained in my previous post, I needed a flexible way to schedule a small script to run, with variable parameters.
The basic requirements were:

simple to configure (no messing in crontabs)
flexible enough to have different schedules on different weekdays (on Sundays a job should be started at another time than on Mondays, for example)
should offer the [...]

September 27th, 2008 by Niels Horn in , |

Checked your /tmp folder lately? You might be surprised how many files there are if you do not clean it on a regular basis. To keep mine tidy, I have a small script called 'cleantmp':#!/bin/bashfind /tmp -atime +5 -exec rm -r {} \;find /var/tmp -type f -atime +30 -exec rm {} \;
Basically it looks for [...]