You need to set a few more options, here is an example that would schedule the job to run every 10mins over the previous month.
opts = { name: "searchname",
search: "* | head 10",
is_scheduled: 1,
cron_schedule: "*/10 * * * *",
'dispatch.earliest_time': '-1mon@d',
'dispatch.latest_time': 'now',
};
mySavedSearches.create(opts, function(err, newSearch) {
console.log("created!");
});
... View more