Expect is a project mainly written in C, it's free.
Some expect example and crontab by myslef
run.c 用來定時跑某支程式