How To Automatically delete Caimpaign one week old

Ratnesh

New Member
Hi ,

I run recurring caimpaigns and it keeps creating new instance everyday so now i want to automatically delete the older ones which are 3-4 days old can u suggest how to do this

This is very urgent support i need

Please give me code where i can do this modification
 
Hi ,

I run recurring caimpaigns and it keeps creating new instance everyday so now i want to automatically delete the older ones which are 3-4 days old can u suggest how to do this

This is very urgent support i need

Please give me code where i can do this modification

While I have not tried this, you might be able to test it on a separate experimental install:
switch on mwz debug/sql log/etc
delete a campaign in the app the normal way
see (in mwz debug/sql log/etc) what has been executed (sql queries, etc)
then you can use this to create a routine in pyhMyAdmin for your weekly task (still on that experimental install, perhaps smaller time increments to get quicker test results though)
once it works, take it to the production system

hope that helps ;)
 
Back
Top