Bear with me here, since this is one odd problem. I have a playbook that I'm trying to run from cron. One step in the playbook is to execute a series of commands in a plain text file like: rd.pl <data> rd.pl <data>
This has to be done using 'bash <filename> '. When running this in a console it works just fine. However, when running from cron it fails with 'rd.pl: command not found'. This might be a path issue, but I'm not sure how to fix it. FWIW, this perl script isn't one I built and nothing I do fixes the fact it's crap and refuses to take proper arguments, etc. Is there a way to make this behave other than just running this playbook in a for loop in a screen session? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7997707f-483d-4b22-a2fe-0344d12f1695%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
