Dec-27-2018, 04:32 PM
I have a python script that needs to be run in bash shell every hour. I need to save the count of no of times script ran that day, and reset the counter to 0 for the next day. How can i create a counter variable inside my script that will be saved as run_id to count the run of the script. Please help to solve this.