Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crontab exorcism #3483

Merged
merged 1 commit into from
Jul 8, 2023
Merged

Conversation

dbutenhof
Copy link
Member

PBENCH-1206

When use of crontab was removed in favor of a timed systemd service, some loose ends were overlooked. Also, the BindsTo directive was put in the wrong section of the timer service file, leading to (apparently innocuous) warnings on startup. This does some cleanup.

PBENCH-1206

When use of crontab was removed in favor of a timed systemd service, some
loose ends were overlooked. Also, the BindsTo directive was put in the wrong
section of the timer service file, leading to (apparently innocuous) warnings
on startup. This does some cleanup.
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I think you missed a spot.

Comment on lines -71 to -73
# Default roles this pbench server takes on, see crontab roles below.
roles = pbench-results

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto for server/pbenchinacan/etc/pbench-server/pbench-server.cfg?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No: we only define the crontab roles in the default config file. We don't duplicate that in pbench-server.cfg.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. What does this line do?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it's doing the backstroke ... but it's in the wrong pond. 😦

@dbutenhof dbutenhof merged commit aaf890c into distributed-system-analysis:main Jul 8, 2023
@dbutenhof dbutenhof deleted the excron branch July 8, 2023 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants