KellyPoima
New member
How do I run a cron job manually?
Answer
Explicitly set the PATH within the script, while testing, to /usr/bin:/bin. You can do this in bash with export PATH
=”/usr/bin:/bin
” Explicitly set the proper PATH you want at the top of the crontab.
…
What it does :
Answer
Explicitly set the PATH within the script, while testing, to /usr/bin:/bin. You can do this in bash with export PATH
=”/usr/bin:/bin
” Explicitly set the proper PATH you want at the top of the crontab.
…
What it does :
- lists crontab jobs.
- remove comment lines.
- remove the crontab configuration.
- then launch them one by one.