linux下每间隔一段时间执行一个脚本

#!/bin/bash
while [ 1 = 1 ]
do
  nohup python run_summarization.py --mode=decode --pointer_gen=False --single_pass=True --data_path=/lab/jinhanqi/my_pointer_data/chunked/test_* --vocab_path=/lab/jinhanqi/my_pointer_data/vocab --log_root=/lab/jinhanqi/basic_seq2seq_attn/log --exp_name=no-pointer >decode.out 2>&1 & 
  sleep 15000;
done

每间隔15000s,执行一次该脚本

你可能感兴趣的:(linux)