A server with the Zinn® panel shows its own logs and its scheduled tasks (cron) on its page under Servers, on the Services and power tab. Both are read from the server at the moment you open them, so what you see is what the server holds right now.
Server logs
The Server logs card shows the newest lines of one log at a time, oldest first. Pick the log:
- Web server errors: the web server's error log, for a site that shows an error page.
- Database: the database service's log, for a database that will not start or keeps restarting.
- SSH sign-ins: who signed in over SSH and when, and the attempts that failed.
- System warnings: warnings and errors the operating system recorded.
The card shows the newest 200 lines; Refresh reads them again. If the card says it could not read a log, the server did not answer or the log is missing: that is not the same as an empty log, and the card says which it is. A log with no lines is shown as "nothing logged".
Scheduled tasks (cron)
The Scheduled tasks card lists the tasks in your server login user's crontab. You can:
- Add task: five schedule fields (minute, hour, day of month, month, day of week) and the command to run. A line the server would not accept is refused before anything changes, with the reason.
- Pause a task and Resume it later. Cron has no off switch, so a paused task stays in the crontab as a comment we mark, and resuming puts it back exactly as it was.
- Remove a task. Only that one line is removed.
Lines you or an application added by hand, comments and the panel's own entries are kept as they are. A change is only made if nobody else changed the crontab in the meantime. If the server does not answer, nothing is changed and the card tells you to try again.
Who can use them
Both cards need access to the panel on that server, because a scheduled task runs any command on the server. Adding, pausing, resuming and removing a task are recorded in our audit log by its schedule, never by the command.
When the cards are not there
The cards appear on servers with the Zinn® panel once the panel has finished setting the server up. A server without the panel is yours to run, so its logs and crontab are on the server itself: open the browser terminal on its page and use them there.