How to schedule a bash command (not a script) in crontab
I need to schedule a specific command to run once at a specific time during the day under /etc/cron.d. I am familiar with scheduling scripts. But is it possible to schedule a command directly (ex: sudo apt-get clean) instead of putting it in a script?
|
Quote:
Second, this looks like a dupe of this: https://www.linuxquestions.org/quest...ab-4175638226/ I've reported this thread for closure. |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 03:49 PM. |