Jobs can be scheduled to run daily, weekly, or monthly at a specified time of day. Log into https://app.mortardata.com and go to the Schedules tab at the top of the page. Any existing schedules will be shown, and new schedules can be created by clicking on the Schedule Job button on the top right of the page.
Some pieces of data are common to all scheduled jobs.
Cluster Size: The number of nodes in the cluster to be launched. The scheduled job will be run on a single-use cluster of that size, and will shut down immediately when the job is completed.
Email Notification: There are two email options. The first is whether you want to receive an email every time the job completes. The second is whether we should send an email if the job fails for any reason, and if so, to whom. This is useful if you want to have monitoring and/or alerting on your jobs. If your alerting tool supports email triggers, all you have to do is enter its email address here.
Default Parameters: If your script contains any default parameters, you have the option to specify the value for each of these parameters, to be used each time the scheduled job is run.
All dates and times are in UTC. If you need to do a conversion from or to your local time you can use this tool to do it.
If you choose a date that doesn't exist in all months (for example, the 31st), your job will not run on months that do not have that day.
Web Projects have one additional required field:
To schedule a Mortar Project, first select the name of the project.
Mortar Projects have three additional required fields:
In order to deploy code to Mortar, you will need to do a git commit and git push to the mortar remote. More information on git is available here, but the basic steps are as follows.
git add my-file-or-directory git commit -m "my commit message" git push mortar my-branch
You can also deploy to mortar using the the java api library.