Is there a right and wrong way to do this?

David Ryder davaweb at bigpond.net.au
Thu May 15 00:40:11 BST 2008


Hi,
I'm David - been on the list a awhile and read a lot but not answered or
been able to help a lot - yes, still learning ... after some time!

Anyway, I would like to ask, firstly, I have a cron job file that I have
added to /etc/cron.d/
It uses files I have in my home folder, but which are symlinked
in /usr/local/bin/.
Is there a 'good, bad or ugly' reason why I shouldn't symlink my cron
file also? i.e. a symlink in /etc/cron.d/
to /home/david/my-cron-jobs/filename ?
It would make changes to the cron jobs very much easier. Otherwise I
have to either place a copy there or run another cron job to keep my
cron files up to date (the originals are in my home folder).

Secondly - can I replace via copy (cp) a file while the target file is
open? If so, I can't find the switch to do it.

Many thanks.

David




More information about the ubuntu-au mailing list