Results 1 to 3 of 3

Thread: Crontab Not Working on 3.6

  1. #1
    Junior Member registered user
    Join Date
    Jul 2004
    Posts
    10

    Crontab Not Working on 3.6

    For some reason my crontab jobs arent running, I have no mail when i type mail, and cron is e-mails you when it finishes a job?


    I have edited the crontab file in /etc/crontab

    Code:
    # /etc/crontab: system-wide crontab
    # Unlike any other crontab you don't have to run the `crontab'
    # command to install the new version when you edit this file.
    # This file also has a username field, that none of the other crontabs do.
    
    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    
    # m h dom mon dow user  command
    17 *    * * *   root    run-parts --report /etc/cron.hourly
    25 6    * * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
    47 6    * * 7   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly
    52 6    1 * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly
    10 9    * * *   root    echo Blah
    0  18   * * 1-5 root    /usr/local/bin/backup
    #
    And

    Code:
    root@ntinstall:/var# crontab -l
    45 * * * * echo Mark



    Here is what is running
    Code:
    UID        PID  PPID  C STIME TTY          TIME CMD
    root         1     0  0 09:28 ?        00:00:04 init [5]
    root         2     1  0 09:28 ?        00:00:00 [keventd]
    root         3     1  0 09:28 ?        00:00:00 [ksoftirqd_CPU0]
    root         4     1  0 09:28 ?        00:00:00 [kswapd]
    root         5     1  0 09:28 ?        00:00:00 [bdflush]
    root         6     1  0 09:28 ?        00:00:00 [kupdated]
    root        55     1  0 09:28 ?        00:00:00 [kjournald]
    root       142     1  0 09:28 ?        00:00:00 [khubd]
    root       443     1  0 09:28 ?        00:00:00 /usr/sbin/automount --pid-file=/var/run/autofs/_:mnt_:auto.pid --timeout=2 /mnt/auto program /etc/automount.sh
    root       569     1  0 09:28 ?        00:00:00 /usr/sbin/cupsd
    root       603     1  0 09:28 ?        00:00:00 /usr/sbin/nmbd -D
    root       606     1  0 09:28 ?        00:00:00 /usr/sbin/smbd -D
    root       613   606  0 09:28 ?        00:00:00 /usr/sbin/smbd -D
    root       614     1  0 09:28 ?        00:00:00 /usr/sbin/sshd
    root       622     1  0 09:28 ?        00:00:00 proftpd: (accepting connections)
    root       626     1  0 09:28 ?        00:00:00 /usr/bin/kdm
    root       628     1  0 09:28 tty1     00:00:00 /sbin/getty 38400 tty1
    root       629     1  0 09:28 tty2     00:00:00 /sbin/getty 38400 tty2
    root       630     1  0 09:28 tty3     00:00:00 /sbin/getty 38400 tty3
    root       631     1  0 09:28 tty4     00:00:00 /sbin/getty 38400 tty4
    root       632     1  0 09:28 tty5     00:00:00 /sbin/getty 38400 tty5
    root       632     1  0 09:28 tty5     00:00:00 /sbin/getty 38400 tty5
    root       633     1  0 09:28 tty6     00:00:00 /sbin/getty 38400 tty6
    root       634   626  0 09:28 ?        00:00:03 /etc/X11/X -dpi 75 -nolisten tcp vt7 -auth /var/run/xauth/A:0-Aw1ory
    root       636   626  0 09:28 ?        00:00:00 -:0
    root       706   614  0 09:29 ?        00:00:00 sshd: root@pts/0
    root       758   706  0 09:30 ?        00:00:00 sshd: root@pts/0
    root       770   706  0 09:30 pts/0    00:00:00 -bash
    root      1544     1  0 09:42 ?        00:00:00 inetd
    root      1964   636  0 09:49 ?        00:00:00 /bin/sh /usr/bin/x-session-manager
    root      1991  1964  0 09:49 ?        00:00:00 /usr/bin/ssh-agent x-session-manager
    root      2059     1  0 09:49 ?        00:00:00 kdeinit: Running...
    root      2062     1  0 09:49 ?        00:00:00 kdeinit: dcopserver --nosid
    root      2064  2059  0 09:49 ?        00:00:00 kdeinit: klauncher
    root      2068     1  0 09:49 ?        00:00:00 kdeinit: kded
    root      2167  2059  0 09:49 ?        00:00:00 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
    root      2173     1  0 09:49 ?        00:00:00 kdeinit: knotify
    root      2182  1964  0 09:49 ?        00:00:00 kwrapper ksmserver
    root      2184     1  0 09:49 ?        00:00:00 kdeinit: ksmserver
    root      2185  2059  0 09:49 ?        00:00:00 kdeinit: kwin
    root      2191     1  0 09:49 ?        00:00:00 kdeinit: kdesktop
    root      2198     1  0 09:49 ?        00:00:00 kdeinit: kicker
    root      2199  2059  0 09:49 ?        00:00:00 kdeinit: kio_file file /tmp/ksocket-root/klaunchercJkLpc.slave-socket /tmp/ksocket-root/kdesktopjWIzqa.slave-socket
    root      2203     1  0 09:50 ?        00:00:00 kdeinit: khotkeys
    nobody    2320   606  0 09:51 ?        00:00:00 /usr/sbin/smbd -D
    root      2350   770  0 09:52 pts/0    00:00:00 ps -ef
    root      2351   770  0 09:52 pts/0    00:00:00 -bash

  2. #2
    Junior Member registered user
    Join Date
    Jul 2004
    Posts
    10
    crontab isnt working beacuse its not running when i boot up? how do i automate this? i figured this would have been standard!

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    update-rc.d cron defaults

Similar Threads

  1. Crontab won't start automatically in the startup
    By ghetto_blaster in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-16-2005, 09:09 AM
  2. Replies: 3
    Last Post: 04-09-2004, 10:48 AM
  3. Trying to make a root crontab, not working....
    By arkaine23 in forum Customising & Remastering
    Replies: 1
    Last Post: 07-08-2003, 08:10 AM
  4. crontab time issues
    By Ambrose in forum General Support
    Replies: 3
    Last Post: 06-20-2003, 12:26 PM
  5. Sound working / not working on Knoppix 3.2
    By Tortoise in forum Hardware & Booting
    Replies: 6
    Last Post: 06-04-2003, 03:34 AM

Posting Permissions

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


Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture

Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home

$9.97



Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust picture

Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust

$30.95



Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster picture

Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster

$38.99



KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED picture

KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED

$15.95



Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture

Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home

$10.87



Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US

$13.68



2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB picture

2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB

$26.95



Milwaukee 49-90-2019 Wet Dry Shop Vacuum Tool & Attachment Storage Bag picture

Milwaukee 49-90-2019 Wet Dry Shop Vacuum Tool & Attachment Storage Bag

$39.99



Portable Cordless Hand Held Vacuum Cleaner Wet Dry Car Auto Home Duster w/ Bag picture

Portable Cordless Hand Held Vacuum Cleaner Wet Dry Car Auto Home Duster w/ Bag

$24.98



Vacuum Cleaner Corded INSE I5 18Kpa Powerful Suction 600W Motor Stick Handheld picture

Vacuum Cleaner Corded INSE I5 18Kpa Powerful Suction 600W Motor Stick Handheld

$135.00