# Configuration $app = Get-SPWebapplication "web app url" $jobname = "my job name" $siteurl = "site url will be used within the job" # Install $job = New-Object MyNamespace.MyClass( $jobname, $app, $siteurl) $job.Schedule = [Microsoft.SharePoint.SPSchedule]:: FromString("daily between 01:00:00 and 01:00:00") $job.Update() Restart-Service SPTimerV4 # Check (Get-SPTimerJob | where-object{$_.Name -eq $jobname)}) | fl