Posts

Showing posts with the label Cron Like Scheduling

How To Automate Or Schedule Jobs Using Python

In this World of Automation everyone wants to save their time and money. Suppose you are System Administrator at a company and you have to run a script after each hour manually then doing this task is very boring. Rather then you would like to Automate this task. Welcome Guys you are at techsyapa and today we will talk about how you can schedule your Jobs Using Python. In this tutorial we will make a simple water drinking reminder which will remind the user to drink the water after every 1.5 hour.  In this tutorial we will use pythons apscheduler for scheduling our job , If you are looking for something light then the apscheduler might be the solution for you.  In this Script our Job is to Remind the User for Drinking the water and we have to schedule this Job after every 1.5 hour , so lets make our hands dirty and write some piece of code. In the Above code we have used 3 python libraries :- 1. Notify2 :-  For Sending the Notification to the user. 2. Time :-  For Ru...