#!/bin/bash

QUERY=$(mysql -u root -e "CALL phone2b.queue_log_purge(); OPTIMIZE TABLE phone2b.queue_log_new;" phone2b);

exit;