mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-23 22:54:19 +01:00
mixed additions
This commit is contained in:
10
tor/crontab.sh
Normal file
10
tor/crontab.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
if ! crontab -u admin -l | grep checkHiddenService; then
|
||||
cronjob="0,15,30,45 * * * * /home/admin/checkHiddenService"
|
||||
(
|
||||
crontab -u admin -l
|
||||
echo "$cronjob"
|
||||
) | crontab -u admin -
|
||||
fi
|
||||
echo "# The crontab for admin now is:"
|
||||
crontab -u admin -l
|
||||
echo
|
||||
Reference in New Issue
Block a user