The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cron delete via ssh

Discussion in 'General Discussion' started by silvernetuk, Apr 5, 2003.

  1. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    I would like to know if I can delete a cron job file from
    /var/spool/cron/USERNAME instead of going into the clients cpanel and doing this ?

    Regards,
    Garry
     
  2. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    Anyone ?

    Regards,
    Garry
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    # man crontab

    NAME
    crontab - maintain crontab files for individual users (V3)

    SYNOPSIS
    crontab [ -u user ] file
    crontab [ -u user ] { -l | -r | -e }

    [...]

    The -l option causes the current crontab to be displayed
    on standard output.

    The -r option causes the current crontab to be removed.

    The -e option is used to edit the current crontab using
    the editor specified by the VISUAL or EDITOR environment
    variables. After you exit from the editor, the modified
    crontab will be installed automatically.
     
Loading...

Share This Page