• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Crontab + Auto Restart

Xinex

New Member
Joined
Apr 24, 2020
Messages
3
Reaction score
0
That's my line in crontab
Code:
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# Start @daily/@weekly/@monthly jobs at 6 o'clock
# instead of midnight
#START_HOURS_RANGE=6

# m h dom mon dow user  command
40 19   * * *   root    cd /home/ubuntu/ots && ./tfss.sh || ( cd / && run-parts --report /etc/cron.daily )
#17 *   * * *   root    cd / && run-parts --report /etc/cron.hourly
#25 6   * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
#47 6   * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
#52 6   1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )

# when using systemd-cron, these 4 standard cron jobs are disabled
# because this is already handled natively by

and cron don't execute this action.


NEED HELP FOR ++
 
Back
Top