The simplest way to create a crontab file is to use the crontab -e command.
This command invokes the text editor that has been set for your system environment and
the default editor for your system environment is defined in the EDITOR environment variable.
If this variable has not been set, the crontab command uses the default editor.
Preferably, you should choose an editor that you know well like Notepad++.
The following example shows how to determine if an editor has been defined, and how to set up vi as the default.
$ which $EDITOR
$
$ EDITOR=vi
$ export EDITOR
Creating a file with crond
This command simply displays a description of the activity, which in this case is Recent Sticky Files
find / -perm -6000
Use the find command to locate sticky files
-ctime
Looks for files whose mode has changed
-mtime
Looks for files that have been modified
-2 -2
Checks if the file was created or modified within the last two days
(each 2 represents 2 days or 48 hours)
( -or )
Groups the search parameters so that they are evaluated together, rather than separately
echo:: END
This tells you that you have reached the end of the file listing.