Cron Job

Cron Job is an Opkey feature, that allows you to define rules for a time-based task. Cron Jobs are used to automate the tasks that run in the background periodically. This feature in Opkey enables you to retain the necessary data and delete others from the executed sessions of the specified project.

For instance, if you wish to retain execution reports for the past six months in your current project and remove older ones, the Cron Job feature allows you to manage data for the designated project as per your requirements. 

Let's proceed to see how to create the Cron Job:

Go to Opkey Web and log in with your credentials.

Visit the admin panel by clicking on the “Settings” tab present above the logout button on the left ribbon.

Upon redirection to the profile page, access the "Cron Job Management Tab" as shown in the image below.


Select Cron Job from the Options.

On the new window, click on the Create Cron tab.

Fill in the Cron Name, Project details, select Time Period options (Date Interval and Date Time Range), choose Session Status (Passed, Failed, Incomplete, Skipped) in the pop-up window. 

Select "Days," "Months," or "Years" in combination or separately in the time period column. 


After choosing "Create Cron," you'll receive a confirmation notification stating that selected data will be kept, and the rest will be deleted. Click "Yes" to initiate the data deletion process. 

While in the active state, the Cron cannot be deleted. A message will prompt you to switch the state to "Inactive" before deleting the Cron.


Cron Job Audit Trail

Modifications made to Cron rules during updation (e.g., Project Change, Name Change, Status, Deletion) will be logged in the Cron Job Audit Trial.


To do so click on the “Cron Job Audit Trial” as shown in the image below.

The Cron's current status, modification date and time, and the username of the modifier are visible in the Cron Job Audit Trial. 

To access details of deleted sessions, navigate to "Project Management" in the left panel of Admin Settings page.

‍Select Project Workspace Audit Trials from the options.

This window will have all the details related to the tasks assigned on the Cron Job.

You now know how the Cron Job feature helps you keep your data organized and maintain them. 

To read more articles on Opkey Features Click Here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article