Script Schedule Scrutiny

Hi All,

Here's one that may belong in the Scripting Thread but I thought I'd start off here. Here's the scenario:-

I have to transfer the functionality and data from an old E450 to a nice new Sun V440.

The E450 contains a bunch of scripts which may or may not still be in use daily, monthly or even yearly.

I need to know which scripts I can sack/remove: so,

  • Other than cron is there any scheduler which would tell me which scripts are still being run?

  • Where should I look for a file detailing the calls made to this server by other boxes internally and externally? and lastly,

  • Anything else you think I should take into consideration?

Thanks for your clevernesses.

Cheers,

Gerry

One script can invoke another which makes this harder. Inside each script add a line like:
echo $0 is running `date` >> /var/log/script.log
as the 2nd line.

Hi Pederabo,

Thanks!

I've got a bunch of these scripts on these machines and the main problem is that I have to find which ones invoke which others!

Fun times ahead.

Cheers,

Gerry