Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If just from the console, then:
for i in {1..100}; do phpfile.php; done
echo '#!/bin/bash
if ! -f /home/locfile
touch /home/locfile
for i in {1..100}
do
/bin/php /path/to/index.php > /home/log.txt
done
fi
rm -f /home/locfile' > /home/runner.sh
crontab -u root -e
m h dom mon dow user sh /home/runner.sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question