Here are some of the commonly used cron variables
| SHELL | The path of the current user’s shell, such as bash. |
| PATH | The list of directories that will be in the search path for cron. |
| The mail storage location of the current user. | |
| MAILTO | It sets who gets emailed with the output of each command. |
| HOME | The home directory of the logged user. |
| EDITOR | The default file editor. |
| LOGNAME | The current user’s name. |
| TERM | The current terminal emulation. |
| LANG | The current locale settings |
| USER | The currently logged user. |
One of the most common issues with cron jobs in support is that they call for the default versions of PHP on the server unless otherwise specified. For example, if the client runs a script that requires PHP 7.1, rather than run php, /home/path/to/script.php, the agent could use phpvers command in the EIG shell to match the direct path.
To schedule tasks with cron, check out this article: Setting a Cron to Run at a Specific Date and Time.