Rock U - Rock Fundamentals - Jobs
Transcribed Video Content
Okay. So let's talk about jobs in Rock. Jobs allows you to automate certain tasks in Rock so you don't have to do them yourself. So you can kind of think of it as your automation robot. Now, jobs are configured under admin tool system settings jobs.
So let's go ahead and take a look at where that is. So from here, you'll see all the different jobs that are currently running. So if they had a success, they'll be in green. If a job fails for any reason, it'll be in red. And it'll give you a little bit of an error message here.
It'll also tell you how long it it took to run that job the last time it it did run and whether or not they're active or not. So from here, can go ahead and add a new job. And the first thing you're gonna wanna do is pick the job type. This will give you all the different, options for that job. Now, you can add a name.
I would highly recommend adding a description always to determine, what that job is supposed to be doing and its intent. You might think it's pretty obvious right now, but when you come back, it'll be different. Another key part is figuring out what the cron expression should be. And cron expressions are just a way of saying, when should this job run? It can be a little tricky.
So we provide a link out to this cron maker. And this will kind of walk you through creating a cron expression. So if I want to say every day at midnight, I can say generate expression. And I'm just gonna copy this little cron expression here and paste it back right there. Okay.
Everything below that is really gonna be specific to the type of job that you're trying to configure. So let's look at the different types of jobs that you can configure. So this is a list of all the jobs that ship with Rock. Now, the store has others that you can download and configure, but these are the ones that come by default. Now, the ones in black are really the ones that are system jobs are already configured for you, you probably shouldn't be messing with those.
But the ones in green are ones that you can set up to do various different tasks. I'd highly recommend that you look at each of those jobs in the admin manual that'll really kind of give you a better picture of what each one does and how it can be used. But the key is knowing that jobs can save you time because they automate processes.