This discussion is archived
2 Replies Latest reply: Feb 24, 2013 7:42 PM by 988801 RSS

cron issue

988801 Newbie
Currently Being Moderated
Hi guys,

I edited my crontab file and entered this enter:


* * * * * w >> `date +%F`.who

Then I later deleted the above entry and entered :


* * * * * w >> /rpool/who/w.txt

when I login and ran : crontab -e

I get this entry:


* * * * * w >> `date +%F`.who

Instead of this entry:

* * * * * w >> /rpool/who/w.txt

i will be glad if someone can help me fix this problem.

Thank you
  • 1. Re: cron issue
    bigdelboy Pro
    Currently Being Moderated
    985798 wrote:
    Hi guys,

    I edited my crontab file and entered this enter:


    * * * * * w >> `date +%F`.who

    Then I later deleted the above entry and entered :


    * * * * * w >> /rpool/who/w.txt

    when I login and ran : crontab -e

    I get this entry:


    * * * * * w >> `date +%F`.who

    Instead of this entry:

    * * * * * w >> /rpool/who/w.txt

    i will be glad if someone can help me fix this problem.

    Thank you
    It is very easy if you had an editting error for the crontab changes not be be saved; there is usually a message in this circumstance.

    The answer is to retry the edit ... watching very carefully for any messages.

    ... That said ... having every scheduling entry as a '*' may be a problem .... it's not something i've knowing done!
  • 2. Re: cron issue
    988801 Newbie
    Currently Being Moderated
    Thank you for the reply.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points