jeltsch's blog

Editing the crontab

We have a shared directory (/home/shared) on our computer and a usergroup called "shared". The purpose is that we put things there that should be accessible (including writable) to several users of the system. If one user puts a file there, it can be read by others but not e.g. deleted. In order to fix this, we edited the crontab to execute every 5 minutes the following two commands:

chgrp -R shared /home/shared
chmod -R 744 /home/shared

In order to do this we edited (as root of course) the /etc/crontab file by adding the line:

Using Riositude under VMware

I have to admit, that there is no really functioning GUI for the rioutils. Meaning that if I want to upload mp3 files to my Rio500 under Linux I have to use the command line (and even the command line seems to be somehow instable as the rpm was created a while ago and compiling fails under the recent Linux releases (Red Hat 8,9, Suse 8, 9). So I used first the Rioport AudioManager 3 under VMware. It is slow and the GUI is as bad as it gets (bloatware). A really cool replacement program for Windows is Riositude.

Changing job priority under Linux

If the job is already running use:

renice 19 -p 2478

This gives the job 2478 (as identified with ps -aux) the lowest possible priority. renice -20 would give it highest priority. If the job is not yet running you can execute it with nice command:

nice +19 amule<(code>

to execute amule with lowest possible priority) and

nice -20 amule

to execute it with highest priority.

Pages