The links above are messed up. Let me try again:
http://wiki.sdn.sap.com/wiki/display/Snippets/Data+Services+-+ATL+Import+Automation
Since writing that, I've added some features, like blocking imports with Data Source definitions, and validating jobs after import (as described athttp://scn.sap.com/thread/1957957).