Hi all,

I have set up pm2 to restart my apps, by adding the pm2 resurrect command:

$ crontab -l

@reboot /home/USERNAME/.npm-global/bin/pm2 resurrect

@hourly /home/USERNAME/.npm-global/bin/pm2 resurrect

however these settings are just cleared after a day, the next day when I log in, I see emtpy cron jobs on the panel page.

My other instance doesn't have this problem, what could cause this behavior? Which files shall I look at?

Here's my folder:

$ ls -a
.              .cshrc         .login         .mailrc        .npmrc         .pydio         .wget-hsts     domains
..             .devil_lang_en .login_conf    .npm           .pm2           .rnd           backups        mail
.bash_history  .lesshst       .mail_aliases  .npm-global    .profile       .shrc          data           repo
$ cat .profile
# $FreeBSD: releng/11.1/share/skel/dot.profile 278616 2015-02-12 05:35:00Z cperciva $ 
#                          
# .profile - Bourne Shell startup script for login shells
#                                                                                     
# see also sh(1), environ(7).      
#                                                                                                                                                                            

# These are normally set through /etc/login.conf.  You may override them here
# if wanted.
# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
# BLOCKSIZE=K;  export BLOCKSIZE

# Setting TERM is normally done through /etc/ttys.  Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# TERM=xterm;   export TERM

EDITOR=nano;    export EDITOR
PAGER=more;     export PAGER

# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV

# if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi
export PATH=~/.npm-global/bin:$PATH

    mxx there are a few possibilities to edit crontab jobs. Check if your software that you run don't modify cron tables.

    Instead of using PM2 we advise you to use our Passenger server - your application will spawn automatically by the server.