https://www.thegeekdiary.com/how-to-allow-only-specific-non-root-users-to-use-crontab/
Add username to /etc/cron.allow as root user.
https://www.thegeekdiary.com/how-to-allow-only-specific-non-root-users-to-use-crontab/
Add username to /etc/cron.allow as root user.
Below script can be scheduled to run every 5 mins to fetch files remote to local server.
Crantab -e would allow you to schedule jobs on LINUX servers.
#!/bin/bash
crontab man page:Each user can have their own crontab, and though
these are files in/var/spool/cron/crontabs, they are not
intended to be edited directly.
/var/spool are considered temporary/working, that's why they probably get deleted during an upgrade, though a closer look at the cron package's upgrade scripts may shed some light on this.crontab -e to create crontab files on the fly. If so, you can get a "copy" of your crontab file by doing crontab -l. Pipe that to a file to get a "backup":crontab -l > my-crontab
crontab my-crontab
crontab -e.