Find the answer to your Linux question:
Results 1 to 2 of 2
i tried crontab -e then i added the line Code: 30 16 * * * echo "hello" > /backup/test.txt but nothing is written in that file if i execute from ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15

    root cronjobs not working

    i tried

    crontab -e

    then i added the line


    Code:
    30 16 * * * echo "hello" > /backup/test.txt
    but nothing is written in that file

    if i execute from commnad then it executes

    how to check if crontab is working or not

  2. #2
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    Make sure the cron daemon is running:

    Code:
    ps -ef | grep crond
    Check the cron log /var/log/cron

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...