Results 1 to 2 of 2

Thread: zmcontrol start/stop vs. zimbra user cron table

  1. #1
    fisch09 is offline Special Member
    Join Date
    Dec 2006
    Location
    Melbourne, VIC, Australia
    Posts
    120
    Rep Power
    8

    Default zmcontrol start/stop vs. zimbra user cron table

    Hi,

    Is there an short and easy way to enable/disable the zimbra user cron table?
    If I stop zimbra - either using /etc/init.d/zimbra stop or zmcontrol stop I may don't want to have the zimbra cronjobs running anymore. (BTW: how does this effect an running upgrade?).

    Kind Regards
    Andre

  2. #2
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    I should start by asking why? Are you stopping Zimbra for an extended period of time, therefore there's a lot of cron that you don't want to happen? It would seem to me that once you have Zimbra installed you'll normally keep it up and running.

    However, if it's going to be down for an extended period of time and you want to turn off that cron:

    You probably ought to double check this with someone that knows more about Linux than I to make sure I'm not saying something monumentally stupid, but this should work:

    1)
    Code:
    su - zimbra
    2) Back up your crontab:
    Code:
    crontab -l > /tmp/myzimbracrontab
    or wherever else you want to store it, just don't forget

    3)
    Code:
    crontab -d
    This will delete the whole crontab for the zimbra user. Then when you want to re-activate it you simply:
    Code:
    crontab /tmp/myzimbracrontab
    and it'll be re-imported
    Last edited by dwmtractor; 09-21-2007 at 04:46 PM. Reason: added first paragraph

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. upgrade woes -made into new thread
    By JustinHarlow in forum Installation
    Replies: 18
    Last Post: 06-08-2007, 12:11 PM
  2. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  3. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 PM

Posting Permissions

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