1

Topic: Crontab -r - complete crontab lost

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Linux/BSD distribution name and version:  ubuntu 12.10
- Related log if you're reporting an issue:
====

Hello!
I just finished the complete installation of the complate iredmaill Server.
Then I type sudo crontab -r and the complete root crontab was resettled.
Can anyone post the root crontab?
Is there any default stored in the installation scripts?

Hope someone can help me. Otherwise I need to install everything again. :-(

2

Re: Crontab -r - complete crontab lost

Default cron job:

1   3   *   *   *   /usr/sbin/cbpadmin --config=/etc/cluebringer/cluebringer.conf --cleanup >/dev/null
# iRedMail: update Awstats statistics
1   */1   *   *   *   perl /usr/lib/cgi-bin/awstats.pl -config=web -update >/dev/null
1   */1   *   *   *   perl /usr/lib/cgi-bin/awstats.pl -config=smtp -update >/dev/null
# iRedMail: Backup MySQL databases on 03:30 AM
1   3   *   *   *   /bin/bash /var/vmail/backup/backup_openldap.sh
30   3   *   *   *   /bin/bash /var/vmail/backup/backup_mysql.sh

P.S. You can easily get it by installing iRedMail on a virtual machine.

3

Re: Crontab -r - complete crontab lost

Many thanks!