Category: Database, automation, machine-learning

The ultimate goal in data-science is typically going to be automation. Often there might be a script that you would want to run daily or a simple file moving that needs to be performed at a certain time.

While Bash is great, it doesn’t come out of the box ready to automate scripts, in order to take advantage of using bash commands for running scripts automatically, we will need to use a tool called CronTab.

I have found that a great use for CronTab in Data Science is to run a script that retrains and outputs a serialized model for an endpoint to use.

In order to schedule a CronTab you will need to convert the appropriate time to a cron time stamp.

Related Articles