I have a site workflow which runs for every 1 hour, But I need this to be scheduled for every 5 minutes.
How can we schedule this?
I have done this by scheduling for 1 hour and made a looping saying 1<4 and pausing for 15 minutes and later incrementing by +1 with 1value.
Could you just include a pause or a loop in the workflow rather than relying on a schedule?
If you really need to do this, and you're on premise with SP 2013, you might consider using PowerShell and creating a scheduled task (see code snippet below).
$username = "admin account"
$password = "admin password"
$domain = "your domain"
$wsUrl = "your site url/_vti_bin/NintexWorkflow/Workflow.asmx?WSDL"
$proxy = New-WebServiceProxy -Uri $wsUrl
$proxy.Credentials = new-object System.Net.NetworkCredential($username, $password, $domain)
[xml]$response = $proxy.StartSiteWorkflow('your site workflow name','')
But workflows don't generally start exactly on time so you'd potentially need to handle multiple workflows running simultaneously..
Retrieving data ...