Please wait...
Move inactive subscribers command.
Starting with version 1.3.7.1 we introduced the move-inactive-subscribers command which will move subscribers that did not open a campaign or did not click a link in a campaign in a given period of time.
The command has the following signature:
command: /usr/bin/php -q {ABSOLUTE_PATH_TO}/apps/console/console.php move-inactive-subscribers --src=LIST_UID --dst=LIST_UID --time=EXPRESSION --limit=1000 --src=UID where UID is the source list unique 13 chars id. --dst=UID where UID is the destination list unique 13 chars id. --time=EXPRESSION where EXPRESSION can be any expression parsable by php's strtotime function. ie: --time="-6 months". --limit=1000 where 1000 is the number of subscribers to process at once.
So a valid call to this command will look like:
/usr/bin/php /var/www/html/apps/console/console.php move-inactive-subscribers --src="hd930corv7399" --dst="nc841jp27ze77" --time="-6 months" --limit=1000 --verbose=1
The above will move 6 month inactive subscribers from list having the UID hd930corv7399 into the list with the UID nc841jp27ze77 and will do this by processing 1000 subscribers at once.
You can place this command in a cron job to run once a week (on Sunday) to move inactive subscribers, like:
* * * * 0 /usr/bin/php /var/www/html/apps/console/console.php move-inactive-subscribers --src="hd930corv7399" --dst="nc841jp27ze77" --time="-6 months" --limit=1000 --verbose=0 >/dev/null 2>&1