I have this very simple webjob
class Program
{
static void Main(string[] args)
{
JobHostConfiguration config = new JobHostConfiguration
{
StorageConnectionString = "mykey",
DashboardConnectionString = "mykey"
};
config.UseTimers();
JobHost host = new JobHost(config);
host.RunAndBlock();
}
public static void EmailsConsumer([TimerTrigger("00:30:00", RunOnStartup = true)]TimerInfo ti)
{
//do something
}
}
And for some reason it won't work
Am I doing something wrong or is it a bug?