by CALLINGUSA » Tue Mar 11, 2008 9:52 am
Hello,
I am facing problem of call getting stuck in vicidial_auto_calls table, i see all the calls with status as XFER, so from last few days, we write down one query after every 30 minutes or so, as follows:
delete from vicidial_auto_calls where status = XFER;
But now, we want to automate this, so i just copied the content of AST_reset_mysql_vars.pl, gave my query there and created one more file under /usr/share/astguiclient itself, by the name AST_reset_mysql_XFER.pl and gave it the right permission to be executable, like that of other files, but now when i am running this file, i get an error saying:
: bad interpreter: No such file or directoryql_XFER.pl: /usr/bin/perl
Can anyone guide me in right direction, on where else to do the entry to make this entry of crontab working, so that we don't have to write down the query manually every now and then.....