Tag Info

New answers tagged

0

If you set cron */1 * * * * cron will run every min. Set cron * */1 * * * to run on hour. Restart cron, after editing sudo service cron restart To check how cron work run crontab -l | grep -v '^#' | cut -f 6- -d ' ' | while read CMD; do eval $CMD; done Like you known log can check on less /var/log/syslog | grep cron Edit 1 Based on your comment ...


0

I found mine in /var/log/upstart/


0

By default on Ubuntu 15.04, systemd journals are only volatile and kept in /run/systemd/journal and are lost at each reboot. To use persistent systemd journal, you need to create the /var/log/journal directory (and restart systemd-journald.service). So, may be, stdout output is just redirected to syslog and not kept in systemd journal. For that, you may ...


0

In fact, buffering in UNIX depends on the context: when stdout is redirected to something interactive like a console - it is usually line-buffered, otherwise it is fully buffered. Buffering may be changed inside the application using setvbuf library call. But it can also be done with stdbuf command on launch: ExecStart=/usr/bin/stdbuf -oL ...


0

log4cplus source does have the SocketAppender which can send stuff towards loggingserver. However SocketAppender does not send all of the information that each even contain and I would recommend against using it. Alternatively, there is the SysLogAppender which I would recommend. Earlier version can do remote logging only using UDP, later versions can do ...


0

Reading the unity-gtk-module.log I have seen that there was a problem with initctl. Due to a "recover" manual I had it renamed, and it couldn't find it. Renamed again and now it is working again :)


2

TL;DR: create a function that saves output of the pwd command to a file, and then use that file to launch gnome-terminal with whatever was in that file as argument to gnome-terminal --working-directory=. Step 1: getting your last directory: Bellow is a function savewd(for save working directory), which you should place at the end of your ...



Top 50 recent answers are included