Skip to content

sdawara/p5-test-crontab-format

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Test::Crontab::Format - Check crontab format validity

SYNOPSIS

use Test::Crontab::Format;

crontab_format_ok("etc/crontab.txt");
crontab_format_ok( \ $content );

DESCRIPTION

Test::Crontab::Format checks your crontab format is valid or not.

FUNCTIONS

  • crontab_format_ok

    Checks the validity. You can pass file name or scalar ref.

NOTE

passing empty (0 byte) file/content always yields failure despite Parse::Crontab treats it as success.

DEPENDENCY

Parse::Crontab

SEE ALSO

example/crontab_format.t

REPOSITORY

https://github.com/ryochin/p5-test-crontab-format

AUTHOR

Ryo Okamoto ryo@aquahill.net

COPYRIGHT & LICENSE

Copyright (c) Ryo Okamoto, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

Test::Crontab::Format - Check crontab format validity

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%