The Linux Administration group is for the discussion of technical issues technical issues that arise during the administration of Linux systems, including maintaining the operating system and supporting end-user applications.

how to install crontab

Dear all
i have wrote a script to mail a /var/spool/messages to user . I put that script /root and add in a corntab enry
15 10 * * * /root/var/spool/message by editing crontab(corntab -e ). but today at 10.15 am i can't get mail from same location. plz let me know where i made a mistak or tell ma the process of installing crontab.

A caveat to running scripts from crontab is that you need to use export
paths to describe the location of executable commands or use absolute paths
for them as the environment is not guaranteed. An example from your script: