| View previous topic :: View next topic |
| Author |
Message |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Sat Nov 07, 2009 10:18 am Post subject: Perl script is not executable or doesn't exist. |
|
|
| Hi there, I have add a sysinfo.tcl wich use a perl script and when crontab strarts my eggdrop, the bot tells me "Perl script is not executable or doesn't exist.", but when I start my bot manually with command "./eggdrop" then the perl script of sysinfo.tcl works fine. Can anybody help me? Thanks. |
|
| Back to top |
|
 |
raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Sat Nov 07, 2009 9:34 pm Post subject: |
|
|
| maybe - just a rough guess - you are running eggdrop using ./eggdrop with a different user that has the privileges to access the file and the user you are using to run eggdrop from crontab doesnt? |
|
| Back to top |
|
 |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Sun Nov 08, 2009 6:10 pm Post subject: |
|
|
| No, I am sure, I have ran eggdrop with my account and the crontab is owned by my accout. So when Ilogin with root and type crontab -u myaccaout i see the cronjob of my account? Any suggestions? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Nov 08, 2009 6:31 pm Post subject: |
|
|
Different environments? ie path setting not including the path to the perl interpreter?
Cronjobs usually only have the environment set from /etc/rc unless other data is explicitly included in the different crontab files... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|