I was just wondering if it's possible to call a timer job from a button click or some logic in a custom solution?
If so do, please provide an example.
Is it to test the Timer Job ?
In that case - write all your logic in a seperate class and take the input (according) to your TimerJob (SPFarm, SPWebApp etc)
I don't know much about this sort of thing but this link talks about starting a timer job from a button