Commit e479ee42 authored by Clinton Andrew Campbell's avatar Clinton Andrew Campbell Committed by Mitchell Moore
Browse files

feat-cron

parent 33ba2106
#!/bin/bash
# resources
#SBATCH cpus-per-task=1
#SBATCH mem-per-cpu=4G
#SBATCH array=-1%1
#SBATCH partition=express
# job name, error and output files
#SBATCH --job-name=cron-job
#SBATCH error=err_%j_4a.log
#SBATCH output=out_%j_%4a.log
#SBATCH ntasks=1
# email address to request notifications when the job is complete or if it fails
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=$USER@uab.edu
# execute python code
python generate_data.py $CLIENT /datasets/ /data/user/$USER/TEST_TRANSFERS/ -l 01 04 06 12 -t $TOKEN -r /perftest/uab_rc/ -wc
\ No newline at end of file
#!/usr/bin/env
# run generate_data.py
# git add, commit, and push
MAILTO=$USER@uab.edu
#git add data.csv
#git commit -m "update data"
#git push
# submit script to queuing system
# runs cronjob.sh every 4 hours every day
#0 */4 * * * sbatch cronjob.sh
* * * * * /cm/shared/apps/slurm/18.08.9/bin/sbatch /data/user/$USER/Globus-Project/DTN_tests/cronjob.sh
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment