When executing systemctl suspend || echo "Error code: ${?}" from the command-line it outputs Error code: 1 and it puts my machine in suspend.
When putting it in cron it gives the following errors: Failed to execute operation: Access denied Failed to start suspend.target: Access denied and gives the output: Error code: 4 What is happening here? Is it possible to run 'systemctl suspend' from cron, or is there a reason why this is not possible? -- Cecil Westerhof
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel