NEMSLinux / nems-scripts

0 stars 0 forks source link

crontab calls benchmark.sh #2

Open brucepleat opened 1 year ago

brucepleat commented 1 year ago

In crontab there is an entry:

# Run a weekly system benchmark of the NEMS server to assist with troubleshooting NEMS0001
0 3 * * 0 /usr/local/share/nems/nems-scripts/benchmark.sh > /var/log/nems/benchmark.log

There is no such script in this source code or on my NEMS, which generates the following error emailed to me:

Cron <root@nems> /usr/local/share/nems/nems-scripts/benchmark.sh > /var/log/nems/benchmark.log
/bin/sh: 1: /usr/local/share/nems/nems-scripts/benchmark.sh: not found

Script looks like it's legacy, as I found it at: https://github.com/NEMSLinux/legacy-nems-scripts/blob/388fe53286692141ccb48713b6dfe1eacdb57449/benchmark.sh#L4