DamnSmallLinuxThis forum is for the discussion of DamnSmallLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
root@4[root]# MyCron &
[1] 19594
root@4[root]# Use of uninitialized value in string at /usr/local/bin/MyCron line 147, <CT> line 6.
Use of uninitialized value in string at /usr/local/bin/MyCron line 147, <CT> line 6.
Use of uninitialized value in string at /usr/local/bin/MyCron line 148, <CT> line 6.
Use of uninitialized value in string at /usr/local/bin/MyCron line 148, <CT> line 6.
Use of uninitialized value in string at /usr/local/bin/MyCron line 148, <CT> line 6.
Argument "SHELL=" isn't numeric in sprintf at /usr/local/bin/MyCron line 73, <CT> line 6.
Argument "bin" isn't numeric in sprintf at /usr/local/bin/MyCron line 73, <CT> line 6.
At first I thought it was the crontab file, but now I don't think so, the error always points to the same lines no matter how the crontab file changes. I've been looking at the MyCron Perl script, but I doubt that's the problem. Can anyone give me some hints?
Thanks in advance!
<<edit>>
forgot to mention - it does the same thing as root or as user - don't know if that matters...
Last edited by htrboy; 12-06-2008 at 08:49 PM.
Reason: add information
Hi - having to figure out the problem on my own was a great opportunity to learn something, so, um, thanks for that...
anyhoo - In the event that this might help someone else; after diving into the perl code 'MyCron', I figured out that in the time fields of the crontab file there needs to be a leading numerical digit in the fields that contain a non-numerical character. So in my case the line that had a /5 (for instance) needed to be 0/5.
Oh and my other problem was that I was editing the wrong crontab file (ha ha...erm), turns out there was another one in a different location.
I know this is an old thread, but if you're still out there, which crontab had to be edited? I've found a crontab in /etc and another one in /opt. Which one is it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.