![]() |
Problem executing scripts with fcron
Hello Everyone,
I have some backup scripts I want fcron to run for me. i have fcron working for commands, but I cannot execute scripts for some reason. fcrontab -e 15 10 * * * touch /home/user/test 16 10 * * * echo "herro" > /home/user/test_2 17 10 * * * /home/user/test_script 18 10 * * * /opt/test_script so the first 2 lines work and are fine, but the last 2 dont run. both scripts have +x permission and work if i execute them manually. Any Ideas why this may be happening? Thanks, Maze |
Re: Problem executing scripts with fcron
post the scripts...
|
Re: Problem executing scripts with fcron
Quote:
If you still have to stick to fcron/cron, you may put run-standalone.sh in front of the command like this: Code:
17 10 * * * run-standalone.sh /home/user/test_script > /dev/null 2>&1 |
Re: Problem executing scripts with fcron
the script im using is just for testing and it
#!/bin/bash echo "herro" > /home/user/test_1 Im going to try alarmd to see if i can make it work there, though i would like it to work with fcron |
Re: Problem executing scripts with fcron
Quote:
|
Re: Problem executing scripts with fcron
hmm now this odd.
I started another teminal and it all works again.. with fcron that is. |
All times are GMT. The time now is 11:11. |
vBulletin® Version 3.8.8