Hello Dustin try with this code:
private Timer timer1 = null; //declaration
protected override void OnStart(string[] args)
{
private Timer timer1 = null;
timer1 = new Timer();
this.timer1.Interval = Convert.ToDouble(1000); //timer intraval in milliseconds
this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Tick);
timer1.Enabled = true;
}
private void timer1_Tick(object sender, EventArgs e)
{
//write your code here
}