Archive: task scheduler at logon


task scheduler at logon
I want my app to be ran at every logon, without much fuss,

I Found: "http://forums.winamp.com/attachment.php?postid=1077385"
(from http://forums.winamp.com/showthread....highlight=Task)
And got that working, but that is a bit to much for me.
Does anyone got a simpler idea (cant seem to get at.exe to do what I want).

If I create a .job file couldnt I just copy it somewhere?


try this:


WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "MyAppName" "c:\...\MyApp.exe"

Planned Task
How to create a planned task with nsis ?

Can i use some ".job" from MS ?


Thank you for helping !


Olivier


i used at.exe(in win xp system32 directory, if i'm correct)

nsExec::ExecToStack `"at.exe" $hh:$mm /every:monday,tuesday,wednesday,thursday,friday,saturday,sunday "$INSTDIR\programToLaunch.exe"`


...which infact creates .job file