Configure the GMN asynchronous processes¶
Run the commands below to:
Set up cron jobs for GMN’s asynchronous processes
sudo -Hu gmn bash -c '
. /var/local/dataone/gmn_venv_py3/bin/activate
GMN_PKG_DIR=`python -c "import site; print(site.getsitepackages()[0])"`
crontab -u gmn ${GMN_PKG_DIR}/d1_gmn/deployment/crontab
'
Altering the schedule¶
By default, the processes are set to run once every hour, with a random delay that distributes network traffic and CN load over time. To alter the schedule, consult the crontab manual:
man 5 crontab