An Azure Function would be the correct resource to use for this instead of a WebJob. WebJobs wouldn't be appropriate for this as they are meant to behave like a cronjob; something that executes on a schedule.