21493 Posts in 5784 Topics by 2622 members
General Questions
SilverStripe Forums » General Questions » hard question about cron, sapphire cli functionality and permisisons
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 262 Views |
-
hard question about cron, sapphire cli functionality and permisisons

27 July 2012 at 11:15am Last edited: 27 July 2012 11:19am
Hi
I have written the following bash file (update.sh)
cd /my-web-dir/
svn cleanup
svn up
php sapphire/cli-script.php dev/buildfor some reason it runs fine if I run it like this:
bash update.sh,
however, when I run it as a cron job it ALSO runs, but all of a sudden it requires a username and password for the /dev/build/
I have NO idea at all on how to fix this. Any ideas?
Nicolaas
-
Re: hard question about cron, sapphire cli functionality and permisisons

28 July 2012 at 1:25pm
Is your cron job running as the same user as the one you're using to manually call the script.
-
Re: hard question about cron, sapphire cli functionality and permisisons

29 July 2012 at 7:23pm Last edited: 29 July 2012 7:24pm
to be honest, I don't really know... i will have a look at it... thank you!
| 262 Views | ||
|
Page:
1
|
Go to Top |

