Page MenuHomePhabricator

jstop and crontab
Closed, ResolvedPublic

Description

When I add to my contab jstop before actual job submission I get message which says: "NOTE: some crontab entries have been modified to grid submissions. You may want to examine the result with 'crontab -e'."

When I look to my crontab I see jstop will be submitted to grid.

So my question, does jstop command and grid managing commands in general, really have to be ran on grid? Are they that resource heavy commands?

Event Timeline

4shadoww created this task.Sep 12 2019, 9:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 12 2019, 9:42 AM
bd808 closed this task as Resolved.Sat, Jan 4, 9:00 PM
bd808 claimed this task.
bd808 added a subscriber: bd808.

Parsing all arbitrary crontab commands to decide if they are ok for local execution on the cron host or need to be run as a job is non-solvable problem with software.

You can use the jlocal command to mark things that you know for sure are safe for local execution on the cron server:

# m h dom mon dow command
0 5 * * 1 jlocal jstop ...