Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4883

Advanced users • Re: Cronjob help! (please)

$
0
0
The right way to do it (and the way I do do it) is to never put any kind of complex command line (i.e., one that depends on bash-isms) directly into the crontab file.
For what it's worth, where I work, we've set up dozens of cron jobs on multiple servers. We have cron executing scripts rather than commands.

So we'll create bash scripts in a specific folder, and than tell cron to execute those scripts.

Maybe this info will help others, may not. 🙏

Statistics: Posted by JoseKreif — Mon Jan 06, 2025 8:10 pm



Viewing all articles
Browse latest Browse all 4883

Trending Articles