Skip to content

Validate command before executing #3

@kirtangajjar

Description

@kirtangajjar

While executing cron commands, If the command would contain ; or #, then everything that comes after it will be ignored(till end of line) since ofelia uses INI style config in which both of them are treated as comments(and hence everything that follows it is ignored)

i.e. In a job like this:

[job-exec "abc.test-touch__tmp_a-Jdhbn"] schedule = * * * * * container = abctest_php_1 command = touch /tmp/a.txt ; touch /tmp/b.txt 

touch /tmp/b.txt will never be called.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions