Skip to content

Commit

Permalink
git fix: actually add cron_routine to git
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmin17 committed Nov 29, 2023
1 parent b98db53 commit 8ae9e79
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cron_routine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# kill all existing tmux sessions
tmux kill-server || true

# create a new tmux session
tmux new-session -d -s ml_session

# make the script executable
chmod +x recommendation_pipeline.sh

# run the script inside the tmux session
tmux send-keys -t ml_session "./recommendation_pipeline.sh" C-m

# detach from the tmux session
tmux detach-client -s ml_session

0 comments on commit 8ae9e79

Please sign in to comment.