Question: |
Good day, tell me if the package is installed and whether there is permission to execute the bash scripts on the server? Trying to run the script with the conclusion of the birthday via cron that nothing comes out |
Answer: |
Hello. as you run the script and what he was doing? |
Question: |
The script is run through cron at a specified time: XX XX * * */home/rudder/public_html/cgi-bin/dr.sh > /dev/null 2>&1 # Search for rows with today`s date and written in faulder $(date +\"%d.%m\") /home/rudder/public_html/cgi-bin/dr-all.txt > /home/rudder/public_html/cgi-bin/dr0.txt# Display the time starting from the 12th character and record in файлcut -c 12- /home/rudder/public_html/cgi-bin/dr0.txt > /home/rudder/public_html/cgi-bin/dr1.txt# Add before and after each time that You need to write to файлawk `{print \"dobavitelj\"$0\"dobavitelj\"}` /home/rudder/public_html/cgi-bin/dr1.txt > /home/rudder/public_html/cgi-bin/dr-today.txt# Delete the temporary falign -rf /home/rudder/public_html/cgi-bin/dr0.txtrm -rf /home/rudder/public_html/cgi-bin/dr1.txt## Find the term with tomorrow`s date and written in faulder $(date --date=`tomorrow` +\"%d.%m\") /home/rudder/public_html/cgi-bin/dr-all.txt > /home/rudder/public_html/cgi-bin/dr0.txtcut -c 12- /home/rudder/public_html/cgi-bin/dr0.txt > /home/rudder/public_html/cgi-bin/dr1.txtawk `{print \"\"}` /home/rudder/public_html/cgi-bin/dr1.txt > /home/rudder/public_html/cgi-bin/dr-tomorrow.txtrm -rf /home/rudder/public_html/cgi-bin/dr0.txtrm -rf /home/rudder/public_html/cgi-bin/dr1.txt |
Answer: |
unfortunately the script will not work .make ego in perl or php |
Question: |
clear |
Answer: |
OK |