Re: [CONFUSED NEWBIE] Cron

From: Ali Alphan Bayazit (listeci_at_bayazit.net)
Date: 11/06/04

  • Next message: Otto Wyss: "Re: Permanent disabling sound in X isn't possible (Re: Sounds off in bash)"
    To: debian-user@lists.debian.org
    Date: Sat, 06 Nov 2004 01:41:46 -0500
    
    

    On Fri, 2004-11-05 at 12:54 -0700, Justin Guerin wrote:
    > > 0 0 * * * root /usr/lib/cgi-bin/send_hit_count.cgi
    > >
    > Oops. Check out the man page for cron and especially crontab(5).
    >
    > > 1. send_hit_count.cgi apparently is not being executed. It works
    > > interactively, but there are no messages that would indicate that it
    > > was executed by cron. What do I need to do, in order to have cron
    > > execute send_hit_count.cgi?
    > >
    > Fix your crontab entry above to:
    > 0 0 * * * /usr/lib/cgi-bin/send_hit_count.cgi
    That depends on whether it is a user crontab (crontab -e etc.),
    or a system crontab (/etc/crontab).
    For the latter, the original entry seems correct, maybe missing a
    newline at the end.
    -aab

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Otto Wyss: "Re: Permanent disabling sound in X isn't possible (Re: Sounds off in bash)"

    Relevant Pages

    • Re: crontab
      ... >>I have scheduled a task by configuring crontab. ... >>and the mail contents are simply stating the successfull execution of ... >>the cron job. ... If MAILTO is ...
      (comp.os.linux.development.system)
    • Re:crontab bug?
      ... When I edit my crontab and then save it, ... needing to restart cron for every new crontab isnt normal, ... so it may be a bug, or you are doing it wrong. ... you file a bug on cron (see debian website for that) ...
      (Debian-User)
    • SUMMARY: cron entry: nth day of every month?
      ... cron can not handle this with its own syntax. ... 21st but "command" only runs if the output of the "date" command ... What I would suggest is rather than embedding the logic in each script ... The answer is it is _not_ possible to control it only with crontab ...
      (Tru64-UNIX-Managers)
    • Re: Cron job question
      ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
      (freebsd-questions)
    • Re: cron.allow and cron.deny
      ... they wished since cron will execute a user's crontab with that user's ... cron, cause they are only allow to run scripts with users permissions, that's ... IMHO if for instance apache user or nobody one is able to set up tasks on ...
      (RedHat)