Miscellaneous Ramblings on Hacking

December 22, 2009

Fun with Unica Easysets

Filed under: Uncategorized — Zack Bethem @ 3:42 am

I don’t feel like looking this up everytime.. so here it is.

Problem

ETL finishes and you need to automate the refresh of your Unica easysets in CustomerInsight.

Solution

This dos script does the work.. yeah that’s right.. so sexy it is! DOS.

@echo off
@echo "Refreshing Customer EasySet"
e:
cd e:\unica\Insight
nettracker customer -update
@echo "Customer Easyset refresh complete"
@echo
@echo "Refreshing Sales EasySet"
nettracker bintest -update
@echo "Sales EasySet refresh complete"
@echo "Refreshing Response EasySet"
nettracker responses -update
@echo "Response Easyset refresh complete"
@echo on

Some things of note. The script is updating three easysets of the name: customer, bintest, and responses. This is their system name and not the “friendly” name.

Advertisements

Create a free website or blog at WordPress.com.