Hello
I have a drupal 8 website and I need to run the drupal cron every night at midnight
So I created a cron job into cpanel that looks like this:
wget -q https://xxxxxxxx.com/cron/xxxxxxxxxxxxxxxxxxxxxxxxxx > /dev/null 2>&1
The issue is that the crob job ends up disappearing from the cron job list after a few hours. If I go back to the cron page on cpanel, shortly after I created it, I'm likely to see it there but after a while the list becomes empty.
It used to stay there for several days and then it would trigger and do what it is supposed to do at midnight and it would disappear after a couple of days. Now it just disappears within a couple of hours.
I got our helpdesk guys to look for any memory issue but there was none. They checked the cron log and found this:
[[email protected] log]# grep DELETE cron
Apr 15 04:13:38 cpanel crontab[20456]: (user) DELETE (user)
Apr 15 06:25:35 cpanel crontab[29287]: (user) DELETE (user)
Apr 15 08:34:37 cpanel crontab[7709]: (user) DELETE (user)
Apr 15 10:08:30 cpanel crontab[10504]: (user) DELETE (user)
Apr 15 10:14:29 cpanel crontab[13327]: (user) DELETE (user)
Apr 15 12:31:52 cpanel crontab[1248]: (user) DELETE (user)
Apr 15 14:13:14 cpanel crontab[7693]: (user) DELETE (user)
Apr 15 16:40:30 cpanel crontab[30434]: (user) DELETE (user)
Apr 15 18:44:00 cpanel crontab[11894]: (user) DELETE (user)
Apr 15 20:09:37 cpanel crontab[11104]: (user) DELETE (user)
Apr 15 22:23:07 cpanel crontab[25325]: (user) DELETE (user)
Apr 16 00:21:54 cpanel crontab[31848]: (user) DELETE (user)
Apr 16 02:25:58 cpanel crontab[6815]: (user) DELETE (user)
Apr 16 04:14:00 cpanel crontab[9004]: (user) DELETE (user)
Apr 16 06:17:29 cpanel crontab[15206]: (user) DELETE (user)
Apr 16 08:20:05 cpanel crontab[22374]: (user) DELETE (user)
But they don't have a clue of what's happening and they kind of have given up....
Any idea someone of what could be wrong?
Many thanks for your help.
LuckyLucky
I have a drupal 8 website and I need to run the drupal cron every night at midnight
So I created a cron job into cpanel that looks like this:
wget -q https://xxxxxxxx.com/cron/xxxxxxxxxxxxxxxxxxxxxxxxxx > /dev/null 2>&1
The issue is that the crob job ends up disappearing from the cron job list after a few hours. If I go back to the cron page on cpanel, shortly after I created it, I'm likely to see it there but after a while the list becomes empty.
It used to stay there for several days and then it would trigger and do what it is supposed to do at midnight and it would disappear after a couple of days. Now it just disappears within a couple of hours.
I got our helpdesk guys to look for any memory issue but there was none. They checked the cron log and found this:
[[email protected] log]# grep DELETE cron
Apr 15 04:13:38 cpanel crontab[20456]: (user) DELETE (user)
Apr 15 06:25:35 cpanel crontab[29287]: (user) DELETE (user)
Apr 15 08:34:37 cpanel crontab[7709]: (user) DELETE (user)
Apr 15 10:08:30 cpanel crontab[10504]: (user) DELETE (user)
Apr 15 10:14:29 cpanel crontab[13327]: (user) DELETE (user)
Apr 15 12:31:52 cpanel crontab[1248]: (user) DELETE (user)
Apr 15 14:13:14 cpanel crontab[7693]: (user) DELETE (user)
Apr 15 16:40:30 cpanel crontab[30434]: (user) DELETE (user)
Apr 15 18:44:00 cpanel crontab[11894]: (user) DELETE (user)
Apr 15 20:09:37 cpanel crontab[11104]: (user) DELETE (user)
Apr 15 22:23:07 cpanel crontab[25325]: (user) DELETE (user)
Apr 16 00:21:54 cpanel crontab[31848]: (user) DELETE (user)
Apr 16 02:25:58 cpanel crontab[6815]: (user) DELETE (user)
Apr 16 04:14:00 cpanel crontab[9004]: (user) DELETE (user)
Apr 16 06:17:29 cpanel crontab[15206]: (user) DELETE (user)
Apr 16 08:20:05 cpanel crontab[22374]: (user) DELETE (user)
But they don't have a clue of what's happening and they kind of have given up....
Any idea someone of what could be wrong?
Many thanks for your help.
LuckyLucky