|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
did you make it executable?
__________________
My site: http://microchip.bplaced.net My repo: http://download.opensuse.org/repositories/home:/microchip8 SUSE Unbound Forum: http://suseunbound.lefora.com Do coders dream of sheep() ? |
|
||||
|
Cron jobs run for the user who set them in their crontabs. So when you edited as root the root crontab, it will run as root. But when you edited as enduser the crontab of enduser, it runs under enduser.
The crontab entries in /etc/cron.* are run under root (enduser wouldn't have the permission to create something there). A backup run for a MySQL database should eithet be owned/run by user mysql or root. When mysql can do everything you shouldn't do it as root (old wisecrack). And of course when you mention something to be executed from any crontab that owner must have read and execute access to that file. So some r and x bits in the right places might be handy like microchip8 suggested allready.
__________________
Henk van Velden |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|