Skip to main content
add what i have tried this week
Source Link
Corey
  • 101
  • 3

2025/04/07 Updated
As mentioned above, the workaround that moves the script to /etc/cron.daily worked well, but when I tried to specify the execution time in /etc/crontab like this

30 21 * * * root run-parts /etc/cron.daily

The script GET KILLED AFTER FIVE MINUTES AGAIN!

Any idea would really appreciated.

Any idea would really appreciated.

2025/04/07 Updated
As mentioned above, the workaround that moves the script to /etc/cron.daily worked well, but when I tried to specify the execution time in /etc/crontab like this

30 21 * * * root run-parts /etc/cron.daily

The script GET KILLED AFTER FIVE MINUTES AGAIN!

Any idea would really appreciated.

add the workaround
Source Link
Corey
  • 101
  • 3

Didn't find any error message in /var/log/cron either.

2025/03/31 Updated
I tried to execute the tar command line natively in cornd, still got stopped after five minutes, below is part of my /etc/crontab file

Didn't find any error message inWorkaround?
I moved the script from /var/log/cron either/etc/crontab to folder /etc/cron.daily, the script doesn't get killed. I have no idea what is the difference.

2025/03/31 Updated
I tried to execute the tar command line natively in cornd, still got stopped after five minutes, below is part of my /etc/crontab file

Didn't find any error message in /var/log/cron either.

Didn't find any error message in /var/log/cron either.

2025/03/31 Updated
I tried to execute the tar command line natively in cornd, still got stopped after five minutes, below is part of my /etc/crontab file

Workaround?
I moved the script from /etc/crontab to folder /etc/cron.daily, the script doesn't get killed. I have no idea what is the difference.

update new tries
Source Link
Corey
  • 101
  • 3

2025/03/31 Updated
I tried to execute the tar command line natively in cornd, still got stopped after five minutes, below is part of my /etc/crontab file

50 3 * * * root /bin/tar zcvf /mnt/backup/website/corey_20250331.tar.gz /mnt/webdisk/corey/

ls -lh

-rw-r--r-- 1 root root 6.1G Mar 31 03:55 corey_20250331.tar.gz

Didn't find any error message in /var/log/cron either.

Didn't find any error message in /var/log/cron either.

2025/03/31 Updated
I tried to execute the tar command line natively in cornd, still got stopped after five minutes, below is part of my /etc/crontab file

50 3 * * * root /bin/tar zcvf /mnt/backup/website/corey_20250331.tar.gz /mnt/webdisk/corey/

ls -lh

-rw-r--r-- 1 root root 6.1G Mar 31 03:55 corey_20250331.tar.gz

Didn't find any error message in /var/log/cron either.

Source Link
Corey
  • 101
  • 3
Loading