What's new

crond "parse error at 1," Any ideas?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vibroverbus

Regular Contributor
AX68U on 388.1 with amtm and most of the usual add-ons.

Getting a funny crond error in my logs repeating.
Code:
Mar 19 10:32:00 MyRouterName crond[1096]: user RootGuyName: parse error at 1,

cru l executes fine and seems to match /var/spool/cron/crontabs/RootGuyName which looks normal.
vim shows no hidden characters or line feeds or anything.
There is no other crontab file.

On previous routers I had /jffs/configs and /jffs/scripts "doing stuff" with scheduled jobs, but I have tried to streamline to standard-release configurations and all jobs are from amtm supported addons via auto scripts etc. plus the Merlin reboot scheduler. I am doing little to nothing under the covers anymore.

Searched in /jffs anyway for any rogue cru a commands and confirmed the above.

Any ideas?
 
Post the contents of /var/spool/cron/crontabs/RootGuyName

You appear to have an invalid line that contains "1, " as one of the first five fields.
 
Last edited:
Once again I have missed the obvious - there it is, Speedmerlin typo. Thanks!

Code:
37 1, 13 * * * /jffs/scripts/spdmerlin generate #spdMerlin#
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top