jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

add explicit ordering of outputs and executions #175

Closed robinjoseph08 closed 8 years ago

robinjoseph08 commented 8 years ago

What

Add explicit ordering of:

This is because certain DBs (like postgres) doesn't guarantee an inherent ordering of queries unless it has been explicitly declared.

Notes

I removed :created_at => :desc, :started_at => :desc from the ordering of executions because these were sorting on the executions columns, but then we do a .find so the sorting was unnecessary.

jamesrwhite commented 8 years ago

Seems to do the trick, thanks! #174