Microsoft KB Archive/246425

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


System Administration - Running Periodic Processes in INTERIX

Article ID: 246425

Article Last Modified on 10/30/2006



APPLIES TO

  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition



This article was previously published under Q246425

SUMMARY

This article describes running periodic processes by using the cron daemon in INTERIX.

MORE INFORMATION

The administrator can schedule periodic processes by using the cron daemon. You add, delete, and edit commands run by cron by using the crontab utility. Users may also have access to cron through crontab.

Unlike in a traditional system, each user on INTERIX gets a personal cron service, which is enabled by the Administrator. This is because of the differences in security.

Cron is different from most other services because cron provides a more extensive environment and mails you the standard output and standard error of the command. A cron job sets the following environment variables in the execution environment:

  • HOME (your home directory)
  • LOGNAME (your login name)
  • PATH (a PATH that is guaranteed to find the INTERIX utilities, though it won't necessarily be your PATH)
  • SHELL (the pathname to the Korn shell)

The utilities at and batch are also included in the product beginning with INTERIX 2.1. Each requires the calling user to have a cron service set up.

For more information, see http://www.interix.com/.

Keywords: kbinfo KB246425