FCRON(8)
π fcron(8) β the fcron manual page, bestie edition π
okay so welcome to fcron(8), the manual page for fcron β the daemon that executes your scheduled tasks. she's iconic, she's punctual, she's got main character energy, and by the end of this page you two are gonna be besties π«Ά
β¨ NAME β¨
fcron β daemon to execute scheduled tasks
πΈ SYNOPSIS πΈ
fcron [ -c file ] [ -d ] [ -b ] [ -s time ] [ -m num ] [ -q num ]
fcron [ -c file ] [ -d ] [ -f ] [ -o ] [ -y ] [ -p file ] [ -l time ]
fcron [ -n dir ]
fcron [ -h ]
fcron [ -V ]
π¦ DESCRIPTION π¦
okay so here's the vibe. Fcron should be started from /etc/rc or /etc/rc.local. Unless you give her the -f (or --foreground) option, she returns immediately β like, immediately immediately β so you do not need to start her with &. she handles that herself, she's got it π
Here's what she actually does, step by step, no cap:
- Fcron loads the users' fcrontabs (peep
fcrontab(5)) that were previously installed byfcrontab(peepfcrontab(1)). - Then she calculates the time and date of each job's next execution.
- Then she figures out how long she has to sleep, and she sleeps for that amount of time.
- When she wakes up, she checks all the loaded jobs and runs them if needed.
- When a job is executed, fcron forks, changes her user and group permissions to match those of the user the job is being done for, executes that job, and mails the outputs to the user (this can be changed though β see
fcrontab(5)).
Informative messages about what fcron is doing get sent to syslogd(8) under facility cron, priority notice. Warning messages go out at priority warning, and error messages at priority error. each one in its lane, we love to see it β¨
Note: fcron sleeps at least 20 seconds after she's been started before executing a job, to avoid using too many resources during system boot. she's being considerate, let her rest π΄
π OPTIONS π
-f,--foregroundβ Don't fork to the background. In this mode, fcron will output informational messages to standard error as well as tosyslogd. like she's talking to you and journalling about it π-b,--backgroundβ Force running in background, even if fcron has been compiled to run in foreground as default. she said not today to the compile-time default π«Ά-s time,--savetime timeβ Save fcrontabs on disk every time sec (default is1800). she's a saver, not a thrower-awayer π-m num,--maxserial numβ Run at most num serial jobs simultaneously. By default, this value is set to1.
See also: option serial in fcrontab(5).
-q num,--queuelen numβ Sets the sizes of the queues that are used to manage serial jobs and the lavg queue each to num. This means that (A) at most num serial jobs can be in the waiting state and (B) at most num jobs can wait until the system average load drops below a set value. two limits, one flag, we love an efficient queen π-c file,--configfile fileβ Make fcron use config file file instead of the default config file/usr/local/etc/fcron.conf. To interact with that running fcron process,fcrontabmust use the same config file (which is defined byfcrontab's option-c). That way, several fcron processes can run simultaneously on a single system β but each fcron process must have a different spool dir and pid file from the other processes. no sharing, bestie, that's the rule π-o,--onceβ Execute all jobs that need to be run at the time fcron was started, wait for them, then return. Sets--sleeptimeto0. May be especially useful when used with options-yand-fin a script run, for instance, at dialup connection. one and done, periodt β¨
See also: fcrontab's options volatile, stdout.
-y,--nosyslogβ Don't log to syslog at all. May be useful when running in foreground. she's going off the grid, respectfully π-p file,--logfilepath fileβ If set, log to the file given as argument. fcron will log to both that file and syslog in parallel unless-yis also set. two diaries, no drama π¦-l time,--firstsleep timeβ Sets the initial delay (in seconds) before any job is executed, default to20seconds.-n dir,--newspooldir dirβ Create dir as a new spool directory for fcron. Set correctly its mode and owner. Then, exit. she sets it up, she hands it off, she leaves π-h,--helpβ Display a brief description of the options.-V,--versionβ Display an informational message about fcron, including its version and the license under which it is distributed. cute AND legally transparent π-d,--debugβ Run in debug mode (more details on stderr β if option-fis set β and in log file). she's telling you everything, every little thing π
β RETURN VALUES β
Fcron returns 0 on normal exit, and 1 on error. zero means slay, one means something's up π
π SIGNALS π
SIGTERMβ Save configuration (time remaining until next execution, time and date of next execution, etc), wait for all running jobs and exit. she's packing her bags properly and saying goodbye to everyone first π«ΆSIGUSR1β Force fcron to reload her configuration.SIGUSR2β Make fcron print her current schedule on syslog. It also toggles on/off the printing of debug info on syslog. two-in-one, lowkey efficient π₯SIGHUPβ Tell fcron to check if there is any configuration update (this signal is used byfcrontab(1)).SIGCONTβ Notify fcron that the system was just resumed from suspend (to memory or disk). This will trigger fcron to read the/usr/local/var/run/fcron.suspendand update the task schedules accordingly. Note that fcron doesn't need this to detect suspend/resume on Linux. Linux girlies get it for free π
π CONFORMING TO π
Should be POSIX compliant. "should" is doing a lot of work here but we respect it π
π§ FILES π§
/usr/local/etc/fcron.confβ Configuration file for fcron,fcrontabandfcrondyn: contains paths (spool dir, pid file) and default programs to use (editor, shell, etc). Seefcron.conf(5)for more details./usr/local/etc/fcron.allowβ Users allowed to usefcrontabandfcrondyn(one name per line, special name"all"acts for everyone). the VIP list π/usr/local/etc/fcron.denyβ Users who are not allowed to usefcrontabandfcrondyn(same format as allow file). the other list π/usr/local/etc/pam.d/fcron(or/usr/local/etc/pam.conf) β PAM configuration file for fcron. Take a look atpam(8)for more details./usr/local/var/run/fcron.suspendβ Location of fcron suspend file, for non-Linux systems. This should be used to let fcron know how long the system was suspended (to memory or disk), so as task schedules can be updated accordingly. The file must be owned byroot:root, and not writable by others. When the system resumes, write the number of seconds (as a string) the system was suspended into this file, and then send aSIGCONTsignal to make fcron process (and then delete) that file. This is not needed on Linux as fcron uses Linux-specific APIs to detect the resume and measure the suspend duration. so on Linux? skip her, she already knows. everywhere else? write the seconds, send the signal, she'll handle it β¨
π SEE ALSO π
If you're learning how to use fcron from scratch, I suggest that you read the HTML version of the documentation (if you're not reading it right now! :)): the content is the same, but it is easier to navigate thanks to the hyperlinks. the hyperlinks really do carry it, ngl π₯
π AUTHOR π
Thibault Godouet <fcron@free.fr>
and that's the whole page, bestie!! you ate this π«Άβ¨ version 06/06/2026, dated 06 June 2026 β mwah, go schedule something iconic π
π¦ where this page comes from
- arch rolling: fcron 3.4.1-1 Β· GPL-2.0-or-later
- nixpkgs unstable: fcron 3.4.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms