Guest User

Untitled

a guest
Nov 19th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. select count(status) from cron_schedule where status='pending'
  2.  
  3. delete from cron_schedule where scheduled_at < date_sub(now(), interval 1 hour);
Add Comment
Please, Sign In to add comment