Original version that was run in cron
Updating ticket list via automated script in cron