Create new tasks

To create a new task in the Scheduler, click Add task or press Ctrl+click in the blank field and select Add from the context menu. Four types of scheduled tasks are available:


important

Sandboxed application on macOS Big Sur (11)

ESET Endpoint Security for macOS on macOS Big Sur (11) cannot run scheduled tasks for sandboxed applications. For example, all applications downloaded from the Apple store are sandboxed. You can find more information about the Sandbox in the Apple documentation.
 
The Scheduler can still create tasks for ESET applications and other non-sandbox applications.

Run application

Update

On-demand computer scan

System startup file check


note

User defined tasks

By default, applications are run by a special ESET-created user that has restricted rights. To change the user from the default, type the username followed by a colon (:) in front of the command. You can also use the root user in this feature.


example

Example: Run task as user

This example explains how to schedule the calculator application to start at a selected time as a user named UserOne:

1.In the Scheduler, select Add task.

2.Type the task name. Select Run application as a Scheduled task. On the Run Task window, select Once to run this task one time. Click Next.

3.Click Browse and select the Calculator application.

4.Type UserOne: before the application path (UserOne:'/Applications/Calculator.app/Contents/MacOs/Calculator') and click Next.

5.Select a time to execute the task and click Next.

6.Select an alternate option if the task cannot run and click Next.

7.Click Finish. The ESET Scheduler starts the Calculator application at the time you selected.



 


important

Username limitations

You cannot use spaces or blank characters in front of a username. Also, you cannot use spaces in a username. Use a blank character instead.  


note

Scanning as an directory owner

You can scan directories as the owner of the directory:

root:for VOLUME in /Volumes/*; do sudo -u \#`stat -f %u "$VOLUME"` '/Applications/ESET Endpoint Security.app/Contents/MacOS/esets_scan' -f /tmp/scan_log "$VOLUME"; done

You can also scan the /tmp folder as a currently logged-in user:

root:sudo -u \#`stat -f %u /dev/console` '/Applications/ESET Endpoint Security.app/Contents/MacOS/esets_scan' /tmp


example

Example: Update Task

This example explains how to create an update task to run at a specified time:

1.Select Update from the Scheduled task drop-down menu.

2.Type a name for the task in the Task name field.

3.Select the frequency of the task from the Run task drop-down menu. Based on the frequency selected, you are prompted to specify different update parameters. If you select User-defined, you are prompted to specify the date and time in cron format (see the Creating a user-defined task section for more details).

4.Select an alternate option if the task cannot be performed or completed at the scheduled time.

5.Click Finish. The new scheduled task is added to the list of currently scheduled tasks.

By default, ESET Endpoint Security for macOS contains predefined scheduled tasks that are configured to ensure correct product functionality. These tasks should not be modified and are hidden by default. To view these tasks, go to  the main menu and click Setup > Enter application preferences > Scheduler and then select Show system tasks.