sudo -u www-data /opt/invenio/bin/bibsched statusto see whether a process is still in 'running' state. Normally they should only be processes in 'waiting' and not 'running' state.
This should be enough to let the script proceed with the upgrade-check.
...just my two cents, Theodoros

