jQuery / PHP / Sqlite scheduler