How to run scripts in the background

Jessica YungProgramming

When running machine learning experiments, you might want to run multiple scripts simultaneously, hide printouts for a script or just do things in a terminal window while running a Jupyter Notebook in the background. In this post, we will go through how to run scripts in the background, bring them back to the foreground, and check if the scripts are … Read More

Automate running a script using crontab

Jessica YungProgramming

Problem:¬†You want to run a script once every 5 minutes or at some other regular interval, but don’t want to do it manually. You will need: Access to your UNIX (Any *nix should work) shell A script you want to run. If you don’t have a script you want to run, you can follow along with <a href="https://github.com/jessicayung/blog-code-snippets/blob/master/record_time.py" target="_blank">record_time.py</a> that appends a … Read More