This code will run as a daemon and is effectively like calling the python script every minute using a cron, but without requiring that to be set up by the user. My ping spikes up to 200 consistently every minute (to the second) when playing online games. fping package to run ping * * * * * python /home/pi/ubi_speed_tester. Click Yes and add the following in your text editor: from datetime import date today = date. i want to start a command every 10 seconds and capture its stdout output as it is produced. Python ping every minute run_pending() The above code prints A Simple Python Scheduler.