The task can be manually deleted from the VSEL database and the local cron schedule.
- Open a command-line session on the server with VSEL installed.
- Query the VSEL database to determine the Task ID. Type the following command and press Enter:
/opt/NAI/LinuxShield/libexec/sqlite /var/opt/NAI/LinuxShield/etc/nailsd.db "SELECT * FROM schedule"
NOTE: The default Task ID is 1.
- Delete the task from the VSEL database. Type the following command and press enter (where x is the Task ID number).
/opt/NAI/LinuxShield/libexec/sqlite /var/opt/NAI/LinuxShield/etc/nailsd.db "DELETE FROM schedule WHERE i_taskID = x"
For example, if the Task ID is 4, the command would be:
/opt/NAI/LinuxShield/libexec/sqlite /var/opt/NAI/LinuxShield/etc/nailsd.db "DELETE FROM schedule WHERE i_taskID = 4"
- Open /etc/crontab using a text editor of your choice such as vim, emacs, or nano.
- Delete the entry for the task and save the file.
- Restart the crond service. Type the following command and press Enter:
/etc/init.d/crond restart