installed cmd app on server

2008-01-29 @ 22:21#

more fun w/ exyus today.

last night i built a simple command-line app (tasklist-cmd that can "talk" to the TaskList server. that was fun. a simple desktop app that does clean HTTP work (including handling headers for etags, cache-control, user-agent, etc.) without a lot of fuss and bother. nice. you can download the source and a windows executable from the exyus code site.

today i installed this applet on a server as a tool for clearing out old tasks from the demo site as well as poking some "fun" tasks in myself. it was also really easy. after copying the exe (and dlls) to the server, i whipped up the following set-task.cmd file:

@echo off

tasklist-cmd -clear
tasklist-cmd -add "read tutorials" 1
tasklist-cmd -add "download exyus" 
tasklist-cmd -add "check out newsgroup" 1
tasklist-cmd -add "start writing my own cool apps!"

schedule it up and we're cookin'! here's a sample session output from the above script:

C:>set-tasks

TaskList Utility
2008-01-30 (mca)
http://exyus.com/xcs/tasklist/

list is empty.

TaskList Utility
2008-01-30 (mca)
http://exyus.com/xcs/tasklist/

x8ca31071f938b52 read tutorials(1)

TaskList Utility
2008-01-30 (mca)
http://exyus.com/xcs/tasklist/

x8ca31071f938b52 read tutorials(1)
x8ca31071fbe75a6 download exyus(0)

TaskList Utility
2008-01-30 (mca)
http://exyus.com/xcs/tasklist/

x8ca31071f938b52 read tutorials(1)
x8ca31071fbe75a6 download exyus(0)
x8ca31071fe95ffa check out newsgroup(1)

TaskList Utility
2008-01-30 (mca)
http://exyus.com/xcs/tasklist/

x8ca31071f938b52 read tutorials(1)
x8ca31071fbe75a6 download exyus(0)
x8ca31071fe95ffa check out newsgroup(1)
x8ca310720144a4e start writing my own cool apps!(0)

C:>

code