Jeff,
As David suggested, you can / should upgrade to the new CRON support. Here is an example. WebJob will be deployed as a continuous WebJob.
Keep in mind that to use it, you need to install the package and WebJobs extensions, which are currently preliminary. You can get them on Nuget.
Microsoft.Azure.WebJobs -Pre Install-Package Microsoft.Azure.WebJobs.Extensions -Pre Installation
In addition, as David suggested, if you are not using the WebJobs SDK, you can also run it using the settings.job file. He gave an example here.
Program.cs
static void Main()
{
var module = new CustomModule();
var kernel = new StandardKernel(module);
var storageConnectionString = "your_connection_string";
var config = new JobHostConfiguration(storageConnectionString) { JobActivator = new JobActivator(kernel) };
config.UseTimers();
var host = new JobHost(config);
host.RunAndBlock();
}
Function.cs
public class Functions
{
public void YourMethodName([TimerTrigger("00:05:00")] TimerInfo timerInfo, TextWriter log)
{
}
}
TimerTrigger.
UPDATE webjob-publish-settings.json
webjob-publiss-settings.json
{
"$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
"webJobName": "YourWebJobName",
"startTime": null,
"endTime": null,
"jobRecurrenceFrequency": null,
"interval": null,
"runMode": "Continuous"
}