@vwbusguy
Suggestion:
import sqlite3 and use the SQLite date/time functions. No database required. It will be faster than shelling out to bash al the time.
@knu Story time. One place I worked at had a custom php cms. The function in it for getting the current time made a mysql database call to NOW() to get the current time and called that function constantly. I replaced that with the php built in and performance slightly improved.
Add comment