Issue
I have a #!/bin/bash
file in cron.week directory.
Is there a way to test if it works? Can't wait 1 week
I am on Debian 6 with root
Solution
Just do what cron does, run the following as root
:
run-parts -v /etc/cron.weekly
... or the next one if you receive the "Not a directory: -v" error:
run-parts /etc/cron.weekly -v
Option -v
prints the script names before they are run.
Answered By - NNRooth Answer Checked By - Robin (WPSolving Admin)